Adding validation for package name

I added a bit more validation to the package name, according the specification here: https://github.com/bower/bower.json-spec