Pass parameters to update_ve in the correct order and don't set clean…_ve for
full_rebuild as we don't need to do this (and a later check exits when
both are True!)
Correct sys.exit() call in tasklib
Get the 2 basic tests working again

So we can then carry on expanding the tests from here.
Replace sys.exit() calls in tasks.py

Now just return the exit code from main() and only do sys.exit() when
tasks.py is called directly.
Don't support using tasks.py directly in the deploy directory

By simplifying the tasklib import statement.
Replace sys.exit() with raise XYZError in tasklib

Makes for cleaner code and easier testing.
Expand test coverage of link_local_settings()
Refactor redundant code in link_local_settings()
Bump version to 0.2.0
Rename test classes to provide for fine grained test runs
Move tasklib into subdirectory

Preparation for splitting tasklib up into separate files.
tasks: use inspect to generate list of functions
start writing tests for tasks.py
Add tests for converting arguments in tasks.py

Also refactored to remove code from main() to make it easier to test.
Start splitting up tasklib.py

- exceptions have their own file
- the global env dict has it's own file (to stop circular dependencies)
- link_local_settings() is the first function to move out
Convert tasks.py to use docopt
tasks: give helpful error message when project_settings can't be found
Split out various functions from tasklib.py

These are the ones that can be simply moved, without worrying about
circular dependencies.
Split database stuff out cleanly

So database stuff only imports from exceptions and utils.  The database
settings have to be set from the outside - currently done by functions
in django.

Django can then use the database functions cleanly, so more stuff has
been moved into django.
Sort out some confusion following mysql refactor