Moved internal attributes and relationships array to object constructor (class vars)
Also added Model.getAttributes() and Model.getRelationships() methods.
Merge pull request #187 from petejkim/master

Moved internal attributes and relationships arrays to object constructor (class vars)