Updated type mappings and have ref cursors working on oracle

Note: Postgresql is the only one not working for the minute because of
the manual type mapping that is required. Seems to be a problem with how
the actual driver is implemented.