Minor updates in logging and exceptions

* Wrapped long lines
* Including key names in exceptions thrown after a type mismatch
* Minor logging fixes
Added class name to a log message
Merge pull request #63 from arax/attr_fix

Minor updates in logging and exceptions