Improve TestGetContainersTop so it does not rely on sleep
brew: added safeguards in script and changed default branch to 'master'
Merge pull request #1452 from dotcloud/improve_TestGetContainersTop

* Tests: Improve TestGetContainersTop so it does not rely on sleep