Merge branch 'metrics' into develop
Add fork tests.
Merge branch 'test-pipeline' into develop
Add metrics sessions, don't use global event emitter for reporting.