fix missing semicolon after match
update to cargo nightly

- cargo version: 0.0.1-pre-nightly (28457b1 2014-08-19 18:54:07 +0000)
move tests to mod test
fix non-snake-case variable names
add support for storing window size in state

- limit cursor movement to window size
- source formatting: sort lines for enums, constructors etc.