ev3: add MOTOR_MODE enum.

This can be used to query motor state using ev3.sensors.readySI().
ev3: add doc string for public methods
ev3: trim device names
ev3: reduce logging spam
ev3: add debug helpers to dump ports