1.6.6 add ArchivingException, last value_w, fix time conversion in multidb.get_connection and time2type