@dzucconi: Extract & open source halbone + minor cleanups

This extracts [halbone](https://github.com/artsy/halbone) the lib used to clean up HAL walking & model creation. It also adds some tests to the middleware lib.