fixed loading of static grid.css file

- made settings.py figure out where it is in the file system. no
more hard-coded absolute paths
- setup static loading of files
- removed compiled pyc files and add .gitignore so they don't get
checked in again