Added region (bug 1043478)
Merge pull request #534 from robhudson/bd-region

Added region (bug 1043478)
fix rotten smokealarm tests (bug 1040803)
don't block on logout to wait for logout api call (bug 996486)