Fix #34: Add test infrastructure and a first test.

New dependencies:
* django-nose (and dependencies)
* pyquery (and dependencies)