Fixed conversions in SELECT DISTINCT statements
Fixed issue executing multiple sparul statements without semicolon
Fixed SPARQL codegen

* Better federation support for variables makde by 'AS'
* Better codegen for define output:valmode "LONG" SELECT DISTINCT
Fixed ssg_print_equiv_retval_expn() of a global parameter if needed and vative valmodes differ