Fix for access violation during reverse engineer of TRIGGERs. Fixes to T-SQL parser to properly handle DECLARE and SET CURSOR syntax.