joint_mode_interface rebased to indigo-devel

This is a rebase of https://github.com/ros-controls/ros_control/tree/joint_mode_interface