Added a simple 2 dimensional logging framework (this fixes #69).
This required renaming common/ -> both/ so it loads before js in client/.