Major refactoring for the profiler. Added gateway profiler retrieval functionality.
Merge branch 'develop' of https://github.com/Starcounter/Starcounter into develop