NEW: GridField can sort on relation columns

Slightly improved logic

Add support for relations more than one 'level' apart

Add unit tests

Fixing PostgreSQL support

Throw exception if attempting to sort on a has_many/many_many relation
Merge pull request #2595 from kinglozzer/gridfield-sort-relation

NEW: GridField can sort on relation columns