Don't introduce new arguments to alias_method_chain to keep inheritance

I made some changes to code so it wouldn't break the inheritance and the postgresql gem can be extended by other gems that don't know anything about the postgres_ext gem, such as activerecord-postgis-adapter (which also needed some changes).