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
Merge pull request #30 from arax/check_entity_fix

Fixed attribute validation and added custom Errors
Merge branch 'master' into specupdate