Programming mode #24 and inputCheck #10

* Overload inputCheck to support more commands
* Implement EnterProgrammingMode
* Implement LeaveProgrammingMode
Merge branch 'master' of https://github.com/Prosjekt2-09arduino/STK500-Android