ensure only core msg properties are saved

add some tests for mongo handler also.

Fixes issue https://github.com/tidepool-org/hub/issues/82