Use Ember.getPath or Ember.get

Ember.getPath was changed to Ember.get in 1.0, so we use getPath if it's
there and get if not.
Type lookups use Ember.Resource.lookUpType
Merge pull request #23 from zendesk/james/lookup

add Ember.Resource.lookUpType