Merge pull request #1 from jrconlin/master

Fixes for Prod build
Adding a cookie if you read it all.

Part of me wonders if I should mail them cookies if they actually click the link...
fix link

RST links am hard.
Merge pull request #2 from jrconlin/master

Fixes for 861043 & 902172 …
Fix bug and improve SQL command to update metrics

- fix bug where get of db.type config causes crash
- improve SQL statement to a single query. Still ugly, but at least only
  a single network round trip.
Move logger before _connect() (which uses logger)

* Formatting
* How did this compile before?
Merge pull request #4 from mozilla-services/moz_master

Fix Counter to init logger before using it.