settings,  db caching,  other misc. other stuff (see comments)

- server.js  (aka the main module) loads a "settings" object and stores
it in "modules.settings".   All modules have access to the main module
via "require.main", so that means they can get at the settings via
"require.main.settings".

- loading/saving objects has been moved to separate module
(basic-cache.js).  They're both sync methods, so it will halt the app on
startup and update  but it wont serve invalid pages

- I wired up "save database to cache" to button on front page, but we're
gonna need authentication and an admin page (or a secret rest api) soon.

- added boostrap.js and jquery.js to layout.jade. also added "scripts"
block.  views that need their own js files should include them  in this
block.