Add a "bin" value to the package.json when using "bin" subgenerator.

When creating the bin files also modify the package.json of the package so that it points to the
newly created bin script file.