adding global functions to able to lookup ember-data models in route's model hook, also controllers and views