Added unit tests for akvo.rsr.middleware.get_domain, is_partner_site_instance and is_rsr_instance.