Added validation to the application base name and package name.
Update index.js

added semicolons to validations
Merge pull request #260 from derLukers/master

Validation of application base name and package name