Broad refactoring and cleanup.

* Use vagrant-hosts for hosts file manipulation
* Increased robustness
* Added usual mailmap file
* Cleanup old code