Improve the get_current_domain function when retriving the default domain of the host
Improve the get_current_domain function when retriving the default domain of the host

jpajuelo/wirecloud,jpajuelo/wirecloud,rockneurotiko/wirecloud,jpajuelo/wirecloud,jpajuelo/wirecloud,rockneurotiko/wirecloud,rockneurotiko/wirecloud,rockneurotiko/wirecloud