Implemented the discussion in https://github.com/robotology/codyco/issues/18 for actuators.

Updated command map to be an instance variable instead of a local function variable (in this way I can create it using new)