added set_current_tenant_by_subdomain_or_domain

This method adds the possibility of use the domain as a possible second argument to find the current_tenant. 
It was useful for me. so, I think it could be useful for somebody else too. thanks!