[Fixes #27] Added generalized histogram analytics and various fixes:

- Proper PUT responses
- Strip-off html before indexing (new dependency Jsoup)
- Allow mailbox specific query throughout