Moves GetPath to EntityController and entityResource since all entities can have a path not just content.