fix url as in commcarehg
remove deprecated broker_url
pep8