Fix unittests for Django <= 1.4.3 and Django 1.3

Up to Django 1.4.3, the MAX_NUM_FORMS field needs to be provided.
For Django 1.3, the check of get_inline_instances was always true
as the derived class offered the method. This is fixed now.