Move entity tracking to server/world.
Move entity logic to brain.
Add strict mode to server code, add wrappers for shared classes in order to
make require vs. requirejs more transparent.
Coding style.