Fixes issue https://github.com/krakenjs/generator-swaggerize/issues/5

This fix basically replaces yeoman's replacement of special characters with spaces, with hyphen. There is an issue filed against yeoman which they closed with a refusal to fix.
simpler fix, just use the basename and be done with it
Merge pull request #7 from tlivings/master

Fixes yeoman issue with hyphen in directory name