New API endpoint GET /stats. Shows publishing and subscriber statistics
Review and cleanup the last commit by Antti.
Refactor pushd.coffee, otherwise it is slowly becoming unreadable.
New API endpoint GET /events.
Returns the names of all currently registered events
Merge remote-tracking branch 'futurice/stats'

* futurice/stats:
  New API endpoint GET /events. Returns the names of all currently registered events
  Refactor pushd.coffee, otherwise it is slowly becoming unreadable.
  Review and cleanup the last commit by Antti.
  New API endpoint GET /stats. Shows publishing and subscriber statistics

Conflicts:
	lib/pushservices/mpns.coffee
Add optimist lib as dependency. Allow using tcp_port and udp_port from command line.
Store daily statistics, change stats API to return today counter