Merge 1.0 tree.
Simple server API rework (internals).
Merge
Merge lp:~tangent-org/gearmand/1.2-build/ Build: jenkins-Gearmand-408