Made SqlDialct more extensible

Gives us a nice strategy for supporting sequences
Also improved the InsertSqlBuilder