Cleaned up warnings and whitespace issues
Fixed coast mode GPIO settings
Merged @dlech changes to motor port code into ev3dev-jessie