Merge pull request #5 from hobson/lanehdev

hidden field for previous query IDs, views to display table of the past ...
Merge branch 'master' of github.com:hobson/pug
Docstrings, comments from telecon with @lizongzheng
Merge branch 'master' into lanehdev
Merge branch 'lanehdev'
remformat comments/indentation to produce valid python syntax
minor code changes for pep8 and getting rid of unused packages/module imports