Fixes for db and oswd template

Whoops, these changes should have been committed last week!

I still don't 100% understand why, but the sqlite db needs to live in the
main directory, not the imageapp directory.

Used the quixote StaticDirectory feature to host all of the CSS and background
images in imageapp/static.  This was based on advice from someone who had used
django, since quixote has the most impossibly sparse documentation I have ever
seen.