v2.1 - Fixes for modules/xerte/preview.php & /website_code/php/properties/properties_default_engine.php

modules/xerte/preview.php - wasn't correctly creating the path for the LO so opening/saving failed. This should fix it.

website_code/php/properties/properties_default_engine.php - trying to call mysql_close() on an undefined variable, changed to use the db_query() syntax which should make it more resistant to SQL Injection.