Fix issue #49: django.utils.six not sorted correctly - improving module placement detection in general