Cleans up MotionController and test code.
Add pose handler and test.
Add ignores for cmake.