Refactor everything.

Loads of changes:

* Complete refactor/restructure.
* Renderers now autoload from `/renderers` dir, one file per renderer.
* `Accepts` / `Content-Type` now dynamic from above.
* Operations similar from `/operations` dir, one per operation. 
* `/operations` resource now dynamic from above.
* Express app now in FOAAS class, separate from server. FOAAS contains own version number.
* Specs for renderers/operations.
Yup, there were large amounts of copy and paste, will fix. On drinking and
coding, not possible, I'd never get any fucking work done, ask @maetl :)

In lib/renderers/text.coffee
<https://github.com/tomdionysus/foaas/pull/57#discussion-diff-22292619>:

> @@ -0,0 +1,9 @@
> +sanitizer = require 'sanitizer'

C&P error methinks

—
Reply to this email directly or view it on GitHub
<https://github.com/tomdionysus/foaas/pull/57/files#r22292619>.