Fix testproject/manage.py to be executable

testproject/manage.py could not be run as ./manage.py because
shebang was not the first line. Thus, the import commands raised
errors. Obviously, "python manage.py" worked but now even short
"./manage.py" works.
Fix issue #326

If the search query hit only the title but not article content,
an exception was raised. Convert filter results explicitly from
an iterable to a list in order to fix it.
Migrations reset on the rather messed up notifications app

The initial migration is customised to avoid the need for messing around
with auth.User/get_user_model. South only really needs to know the
names of tables that are directly related to the table being created.
Fixed runtests.py and setup.py hashbang lines, broken by commit with python-modernizer
Merge pull request #331 from spookylukey/fix_hashbangs

Fixed runtests.py and setup.py hashbang lines, broken by commit with pyt...
Tests should be run against current version of django-wiki, not old version!
Updated dependencies in tox.ini to latest supported versions of Django
Get tests to run under Django 1.4 and 1.5, but without duplication on 1.6 and later
Pulled out some useful base classes for test cases
Fixed bug with caching that was causing a test to fail.

Running Article.clear_cache() on deleting isn't enough to properly clear the
cache.  This is because get_cache_key() can return different values - so if
you 1) create an article 2) then modify it 3) then delete, the cache of
content after 1) is not cleared by Article.clear_cache() after 3).

Therefore, when saving, we also clear the instance cache. This is more
robust, and means we also don't have to explicitly delete Articles in test
tearDown.

This bug shows up particularly in tests, due to the increased possibility of
IDs being re-used.
Removed stray debugging print statement
Fixed uploading of attachments using Python3

Previously it was failing with "TypeError: Unicode-objects must be encoded
before hashing" when taking the md5 of a Python3 str object.
Merge pull request #332 from spookylukey/fix_upload_for_python3_rebased

Fix upload for python3 rebased
add note on master branch
Merge pull request #330 from spookylukey/reset_notifications_migrations

Migrations reset on the rather messed up notifications app
Remove Python 3.2 testing because South migrations arent running

...and they probably never will. Assuming that 0.0.24 will support Python 3.3+.
Merge pull request #327 from jluttine/fix-326-search-title

Fix issue #326
Merge pull request #325 from jluttine/fix-testproject-manage

Fix hashbang in testproject/manage.py