sql: Drop use of trashbox and setjmp

Add new token type to identify EOF and use it to break out of loops, properly
cleaning all local memory allocations until parser terminates.
Merge pull request #138 from vhda/sql/drop-trashbox

sql: Drop use of trashbox and setjmp