Allow hyphenated names for `rails plugin new` generator

It was not possible to create a new gem with a hyphenated name via the `rails plugin new` scaffold generator.

In reference to http://guides.rubygems.org/name-your-gem/ hyphens should be used for gems that extend other gems.

Also added two missing tests for the naming of rails plugins via the `rails plugin new` in a separate commit.