Add support of MYSQL_TIME_TYPE family fields

Based on the commit
dd3a7eb833e7b7c57faf23d5ace164cb2cc987cc

Fetching MYSQL_TIME_TYPE family fields except DATETIME fails with;

  *** MYSQL-ERROR: Unsupported type: 10

This commit fix this problem.  This also changes string format for
DATETIME from &#39;YYYY-MM-DD HH:DD:SS.FFFFFF&#39; to &#39;YYYY-MM-DD HH:DD:SS&#39;
when FFFFFF, fractional seconds, is zero.  Before MySQL 5.6.4 accept
fractional seconds but don&#39;t store them, so it would be useful change
for many cases.