Move commands into manage.py, add command to download GeoIP database.