Fix Oracle problem with DNS domain and buildings
Fix Oracle problem with DNS domain and buildings

This ensures that the SQL query generated by SQLAlchemy inside
CommandUpdateBuilding when the default DNS domain is being set works
with both SQLite, and Oracle.

Change-Id: I14e3cf23c0117f15f0e5254f6b029fb9c1bbcd6c
Addresses-Issue: Jira/AQUILON-6495
Tested-by: Aquilon Template Build testing and verification
Reviewed-by: Fred Barnes <a457b66771fa7031f08927d92d89014c238c08f7@morganstanley.com>

quattor/aquilon,quattor/aquilon,quattor/aquilon