Fixed 'key' keyword for SP.
Changed sqlParser to use stringTok instead of clumsy manual c-manipulation.
Fixed a few 0 == NULL, Added fail-safe check for postgres prepared statements.