Backport of Hanson Robotics changes

Trying to merge a diverged branch of this code back into the mainline.
-- Mostly whitespace changes.
-- only one real change of any note: the servo limits were changed, to allow the full range of motion.