101 compaction

<img src="http://a.pomf.se/vjldgq.png" />
Basic AOL compaction. Pretty simple, just replays the current state of the database into a new AOL file and then renames it onto the old one, taking it's place. Theres also a test for it.

The Erlang frontend also now compacts the database every five minutes. This pull request is to be followed up later with the values file compaction.

Oh, I also moved all of the c files into the `c_src` directory because thats an Erlang thing.