Correct logic around database selection

previously we only allowed for the engine to be called 'sqlite' when
django actually calls it 'sqlite3'.  This should fix that.