Fix for non-grappelli admin sites re-ordering dynamic inlines.

And a few small lint fixes.