Fixed location sorting syntax.
minor editing of some unit tests.
Merge branch 'master' into location-sort-fix
Reverted tag behavior for contacts of a partner for now.
Merge pull request #975 from DirectEmployers/location-sort-fix

[PD-732][PD-733] Fixed location sorting and slowness.