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

Previous implementation involving placing of said arrays in object prototype and using slice()  was repeatedly initializing a new array each time an attribute or a relationship is defined.

There is no reason for the internal attributes and relationships arrays to be instance variables, especially now that Ember.Object.create no longer supports defining computed properties.

Also added Model.getAttributes() and Model.getRelationships() methods.