replace registry.parse by registry.parser_for_content_type
replace "float" by "floating-point number"
add missing unit-tests
fix edge-case in premacop.validator.length