Hungary held a referendum on whether or not to accept the EU's planned mandatory refugee redistribution quota.