Fixed #22495 -- Locmem cache.add() failed with infinite timeouts

cache.add() incorrectly succeeded when there was an existing key
with an infinite (None) timeout.
Set compile messages options as class variable

Refs #18714. Same logic as options for makemessages commands.
Wrapped migrations in a transaction only on DBs with transactional DDL.
Used the same instance of atomic for entry and exit.

Since all state is maintained on the connection at this time and none in
the atomic, it doesn't matter, but it could introduce some subtle bugs
if the implementation changed in the future.
Fixed #21157 -- Fixed problems with ResolverMatch

- Fixed bug in get_callable() that caused resolve() to put a string
  in ResolverMatch.func.
- Made ResolverMatch.url_name match the actual url name (or None).
- Updated tests that used the string value in ResolverMatch.func, and
  added regression tests for this bug.
- Corrected test urls whose dummy view paths caused failures (behavior
  that was previously masked by this bug).
Renamed Transifex project from django-core to django

See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
Fixed #22499 -- Fixed a typo in an admin_views test that caused failure on Oracle.
Ignored repeated calls to connection.close().

Forwardport of 9bbb43dd1a from stable/1.7.x
Prevented a crash in the cursor wrappers on Oracle.

Fixed #22483 (again).

Forwardport of 5cd6429620 from stable/1.7.x
Made sure cursor.close() does not complain if cursor is already closed on Oracle

Refs #22483
Fixed #22498 -- constraint name was not quoted in FK creation SQL
Set some transaction-related feature flags on SQLite.

Refs #22496.
Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.

Thanks ross at servercode.co.uk for the report.
Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection

Thanks Erik Romijn for the suggestion.
Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
Fixed #22504 -- Corrected domain terminology in security guide.

Thanks chris at chrullrich.net.
Fixed a confusing heading in applications docs.

Refs #22422.
Fixed #22517, "view prefix" still referenced in urlconf docs
Fixed #21166 -- Reset errors_occurred flag after commit and rollback.
Fixed #22507 -- Clarified nature of the sender argument of signals