refactor profiler references to new endpoints

- change processId to pid
- change api endpoints
swap file and remote in profiler
remove deprecated code
Merge pull request #556 from strongloop/feature/profiler-navbar

refactor profiler references to new endpoints

#strongloop/scrum-loopback/73