@dzucconi: Extract & open source halbone + minor cleanups

This extracts [halbone](http://localhost:5000) the lib used to clean up HAL walking & model creation. It also adds some tests to the middleware lib.