Dotcloud tests

This pull requests adds unit tests for Dotcloud (it currently has none). I've also modified the `pip` command to use `sudo`, as it prevented Travis CI from installing the dotcloud python package properly.