Move json conversion code under an interface so that it can be replace, as we will need different formats
Added flat json converter for use with stream analytics
Use MEF to identify both json converters and add code in the collector to select the right one
Fix exceptions when shutting down collector if the batch is empty or if the event hub client has not been used
Adding missing tests