Fix import of study characteristics

 * convert to java.lang.Integer and java.sql.Date where needed
 * more declarative import definition
Implement XML->SQL table definitions

 * parse XML
 * allow XML->SQL id mappings using context
 * recursion for dependent tables (i.e. nested IDs)
Working SQL insert using DSL
Import definitions for some study tables