Add "require trailing zeroes?" option for numberentry parts

see numbas/Numbas#296