Port physics to Box2D

The "home-grown" physics have inaccurate collisions and the code is easily the most difficult in here to read. [Box2D](http://box2d.org/) is an established real-time physics library with good documentation. [Box2dweb](https://code.google.com/p/box2dweb/) is a JavaScript port.

So let's use that.