Fixed attribute validation and added custom Errors

* Started adding custom errors to lib/occi/errors
* Updated Occi::Core::Entity.check
* Fixed attribute rendering after validation
* Refactored validation in Occi::Core::Attributes