Fixed merge conflict
Cleaned up legoev3_pwm_lookup table formatting
Fixed bug in pwm lookup loop, the best match was not being saved
Added encoder_mode and rationalized polarity_mode
Fixed up polarity and encoder mode for tacho motors