Clean-up of generated Gruntfile.js & removed duplicated dependencies

Change-Id: I72d8c7e4e6940e6aa8a757f148b0a462d06f041b
Always generate bower.json

Change-Id: Ie49b950c45a53118766fd5df222c4279b639a160
Bower repo may not be the same of NPM, prepare templates for it

Change-Id: If5bf3523953ecaa810bd31f4b2e9f0ac98d95d7d
Set peerDependencies after the code has been created (and published)

Change-Id: I85e6f692bafcf77af6bfd21398a2314520e181af