PostgreSQL fix for role insert.
Associations get an auto-generated ID if missing on insert.
Added command line xtm_import.php tool.