Collect hprof files
Updates after review
Merge pull request #81 from Metaswitch/iss78

[Reviewer: Alex] Collect hprof files