New config parser, camera class and more.

Adds a dirt simple, open source config parser that supports a python
config-style configuration. Additionally, moves camera logic into a
class so that it can all be encapsulated. Finally, (subjectively) cleans
up some code and adds a tile helper class for manipulating tile
coordinates (and eliminates a few globals in the process)