Refactor pass

Changes:

- removes views, static, stuff, etc... maybe we need this in the future and could easily be copy pasted    back but it's not doing anything now.

- bin/* now is home to all process level things which are not really modules (they can only live in one process at at time) this makes it easier to add things like ./bin/queue droptables (and the -c config option I added).

- configuration is now explicit pass `./bin/queue -c production server` to start a production server (and pass test for the tests)

- queue/* modules no longer rely on global state

- v1.js public api remains mostly identical except for case changes in variable names and the query changes I made (most query all things run in a single statement or two statements instead of n+1)

- added more high level tests for missing api calls (we still don't really test amqp emissions but the worker tests pass)

- snake_case ->  camelCase

- real slugid is used

Stuff that could still be much better:
- the interface to get at "model" things in routes is ugly "req.app.get('db');" there is not much that can be done unless we change how routes are defined. Using global state here is not awful but not necessary either.

- tests that actually ensure we are sending the right events
- ./bin/queue droptables (or whatever)
- queue running tests should _not_ effect another queue running (in production or locally whatever)