Fix for #24 running migrate with sqlite3

When using sqlite3 we set autocommit to True at the beginning of the
migration 0002 for wagtail core / docs / images in order to disable
transactions there and be able to do a simple python manage.py migrate
also in sqlite3.