Formatting fix (removed blank lines)
Minor fixes for Attributes#check!

* Removed code duplication
* Fixed formatting (blank lines)
* Fixed handling for attrs not in definitions
Merge pull request #62 from arax/attr_fix

Minor fixes for Attributes#check!