Further general infrastructure work

Autofac now installing using modules
Template compiler added along with integration test
Email and email recipient entities introduced