Fixed typo in adoption.jsp causing compilation error.
Converted BatchUpload & EncounterAddMantaPattern to use centralized media size limit.