add options for database, charset, and mode

* configurable from command line and .tdsqlrc
* use settings from the DSN Attributes section of http://www.presicient.com/tdatdbd/tdatdbd_frame.html