Adds simpler handling of refcursor

Stored procs that return refcursors are
now handled more simply.