added hack to bump model prototype functions up to properties, to prevent $resource from wiping them away. hopefully angular.copy will allow us to preserve __proto__ in the near future