CURSOR attributes and parameters

Parameters definition still to be refined
Parameter passing to be added
Re-organize some stuff

Types on declaration to identify basic/composite
Other locations for selects to appear (open for)
Ref cursors, including host variables
Cursor parameter definition
Start of SQL transaction control