warning fixes and docs

fix some warnings
add some notes on better support for datepart and similar syntax
add some todo
merge
use postgresql-simple and some simple fixes

replace hdbc with postgresql-simple
updated defaulttemplate1catalog
fix some warnings
merge
start work on new lexer
work on new lexer experiment
add some tests for new lexer
finish basics on new lexer
start integrating new lexer code

add new public module for lexical syntax
add the lexing tests to the main tests
update cabal file
switch in new lexer, just a couple of small issues to fix
get copy from stdin parsing and fix bug in pretty printing this
fix for parsing stuff like 1<>-2
fix todo