Don't use UNIX sockets by default.

That was useful when my OpenShift init scripts sucked, but now that they don't, it's better to not bother anyone with "rm store/data-socket".
Avoid hardcoding the path to /static/upload/.

Unlike /static/, this one's very easy to change.
Make use of requirements.txt during installation.
Only display a pager when there are any pages.
Merge basethread.html and list.html

Also, choosing the view type one is currently looking at will not reload the page anymore (a cookie will be created, though.)
Enable line statements in templates.

They should look a little neater now.
Fix some markup errors.