Further work on input abstraction
Implemented the client side of things for multiple-choice problems.
Renamed CLEARSTROKES command to CLEAR and moved it back to
ClientCommands. Input handlers were refactored as needed. Protocol
version bumped to 0.5.