Reimplementation of core vumi functionality favouring composition over inheritance and removing a bunch of historical cruft.