refactor(app): Simplify subgenerator code

Add a common function in the base script to simplify the common tasks
for many of the generators (services, filter, directive, controller).
Also remove some unused modules from the sub-generators (path and angularUtils).