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.

Also add a dummy grant_all_privileges() method for sqlite