feat(travisyml): ensure TravisCi building dir follows generator name

Mocha tests for generators only work if they are executed in a folder that has the same name as the generator. When building in Travis, the working folder has the same name as the repo, so it is not completely assured that it will be the same as generator name.

With this PR, the travis build checks the name of the folder and it isn't like the generator's name it modifies it in the `before_install` step.