[1.4.x] Fixed #21538 -- Added numpy to test/requirements/base.txt

Thanks Tim Graham for the report

Backport of c75dd664c from master
[1.4.x] Fixed #21558 -- Support building CHM files.

Thanks Michał Pasternak.

Backport of cd9e85ec from master.
[1.4.x] Fixed #21594 -- Added note about model formsets deleting objects.

This behavior has been fixed in 65e03a424e. refs #10284.

Backport of de1d5d5df5 from stable/1.6.x.
Fix #7907: Tables argument of QuerySet.extra should allow subqueries.
Fix #9209: ModelChoiceField fails when passed a non-integer string.

Patch modified from http://code.djangoproject.com/ticket/9209 -
9209.diff (3.9 kB) - added by kmtracey on 11/05/08 19:25:38.
Import django.core.urlresolvers.reverse a little bit later.

This fixes our url mangling when permalinks are used - it's a slight
hack, but won't break anything. This can be reverted if we do it
the slightly harder but "right" way using an explicit mangling
method.
Allow post save redirects to be callable.
Test fixes for non-unique emails.
Fixed issue with default manager handling saving.
For some reason _default_manager was returning the manager set with objects = ... in the model definition
Changed that around so ModelAdmin class now uses queryset() only to get all objects
Also changed base.py such that the objects are looked for through QuerySet(self.__class__) rather than _default_manager
Fix more authentication tests with regards to unique emails and password reset confirmation links.
make it possible to override statically served admin media files via settings option
stop git from deleting things it shouldnt
Make interpolate JS function not require the named parameter.

It is completely unnecessary and annoying to have to specify an additional parameter in Javascript
when using a dictionary to fill in the strings. Switching back and forth between python and js, this
can be often times forgotton, with bad results.

With this fix, compatibility is maintained with all current utilizations.
add request as an argument to the request_started signal
allow temporarily changing cache key prefixes
Modification to allow "__" as a gettext alias
Make sure bcc stays hidden
add Tagalog translations folder to allow activating it as a language
add inuktitut as a language so that it can be activated, also innuinaqtun, and pinyin
Add Malay