Merge pull request #26 from dennisdegreef/cleanup

Fixed unit tests and coverage for FilesystemAdapter and the ProfileAdapt...
Merge pull request #27 from dennisdegreef/cleanup

Fixed wrong function-call name, still worked because i have the extension locally
Refactored to separate CPU and memory metrics for better lack of cohesion
Fix codestyling issues
Merge pull request #28 from dennisdegreef/refactorFunctionCall

Refactored to separate CPU and memory metrics for better lack of cohesion
Cleaned up the docblocks and exception messages a bit to comply with Scrutinizer output