Split the server into a server.js

Per the discussion at https://github.com/krakenjs/generator-kraken/pull/150.
Merge pull request #151 from phusion/split

Split the server into a server.js