modify hsql to parse some extract timestamp field function, and add test...

... case to these functions
According to our document (http://voltdb.com/docs/UsingVoltDB/sqlfuncextract.php), extract second will return a decimal, including a whole second part and a fractional microsecond part.