Fixed dynamic admin inlines for subclasses doing their own fields
manipulations (overriding get_fields or get_fieldsets).
Added a test for DynamicInlineAdmin.

Note that the test happens to use get_fieldsets(), but it would only
fail with the current implementation if an admin was derived from one
of the dynamic inlines plus another class that happens to override the
method (in that order).