Restructure conf.json, add lib dir

Rather than specifying a fake $cog_root in conf.json, make
relative paths relative to cog_root.

Added a lib/conf-builder.js instead of parsing conf in start-server.js.

Don't track conf.json, instead track conf.exmaple.json