fix named_token

regex pattern does not support sql casting using :: operator for example select mydate::date from mytable;
add test for ticket gh-259

fix :: operator in sql parser
Merge branch 'DBAL-429' into 2.3