Fix postgres_ext for rails 4.1
Use delegate for relation_delegate_class
Merge pull request #147 from eidge/master

Fix postgres_ext for rails 4.1