Convert EMR toLowerCase() before parsing, report errors

Fixes https://github.com/snickell/medscard/issues/3