Fixed resolution and scaling
Fixed keybindings and related bugs.

Also disabled browser default keybindings.
Removed obsolete collision function
Fixed the rendering of bullets
Merge branch 'bugfixes' into gh-pages