CB-8070 MedicReporter from plugin-test-framework incompatible with medic couch db structure.
It's fixed.
Fixed minor formatting bugs
Removes duplicate medic loading (should be already loaded in main.init())

* small compatibility fixes
CB-8070 fixes incompatibility of medic plugin with Medic framework

Merge branch 'CB-8070'