Refactored code so that the JSON Mail reader and input pipe are in a trait that can be used by subassemblies.

- Created two example sub assemblies: EmailSearch and EmailStats
- Moved the Job runner code into the JobStart object
Merge remote-tracking branch 'origin/master'