Intermediate stage port of origianl code to box2D.

In this version the original code that ran on the default impact engine
is partially ported to box2D.  Some of the original code is still
present, therefore there are likely bugs in the code.