Now possible to register custom validation rules in packages without having to put the error messages in the application
Bugfix & cleanup