First draft of a phonograph module.

It's not finished, and I have no real idea whether the parts that are
finished work at the moment.
Add a docstring to phonograph/init
Un-break the -main function
Get phonograph module working
Unsubscribe all the listeners on shutdown
Pick better port for graphite tests.

4006 was stupid, since I use that port all the time to
forward swank connections over ssh.
Add some accounting to track what clients are doing
Try moving the error logging, lol
Fix logging
Simplify logging.

Don't really need this much detail, and we can use an agent
since it doesn't need to be synchronous either.
Closures are cool, man.
Make the API take JSON
Change the GETs to ANYs.
Don't take ring version from middlewares
Merge branch 'jsonapi' into phonograph
Merge branch 'phonograph'