Refactored Occi::Core::Attributes rendering + small validation fixes

See commit messages.