code cleanup

* cleanup the code, make it more elegant and idiomatic,
  split into different files
* use go-metrics for metrics collection:
  it has graphite sender built-in and allows for summary stats
  for timings etc.
* remove admin listener. it wasn't that useful, exposing
  key metrics is enough
* remove old queue code that wasn't used anymore
* add cpuprofile/memprofile flags