refactoring RESTful service code

Use constructor injection instead of field injection, inspired by
http://www.petrikainulainen.net/software-development/design/why-i-change
d-my-mind-about-field-injection/
refactoring email sender code

move ContactForm to /blog/web package to avoid circular dependency.