Fixed issue with select_related on proxy models: get_field_by_name result interpretation was incorrect
Added test case for select_related on proxies
Merge pull request #162 from spectras/select_related_fix

Fix: select_related on proxy models fails: get_field_by_name result interpretation is incorrect