Use Martini for HTTP server, expose internal cached state:
Use Martini for HTTP server, expose internal cached state:

 - DRY up replies.
 - Make HTTP port to bind to configurable via PORT env var.
 - Use Martini for HTTP server.
 - Add `GET /state` handler that dumps out current known state.

flapjack/flapjack,necula01/flapjack,necula01/flapjack,cloudevelops/flapjack,cloudevelops/flapjack,ikusalic/flapjack,flapjack/flapjack,necula01/flapjack,ikusalic/flapjack,necula01/flapjack,flapjack/flapjack,flapjack/flapjack,ikusalic/flapjack,ikusalic/flapjack,cloudevelops/flapjack,ikusalic/flapjack,flapjack/flapjack,necula01/flapjack,cloudevelops/flapjack