add iframe onload handler for profiler

- moved initializer to happen when iframe loads
- create custom directive for handling iframe onload
Merge pull request #853 from strongloop/feature/profiler-navbar

add iframe onload handler for profiler

#785