Merge pull request #4 from kentwills/fix_bower_undefined_package_name

Fix bower undefined package name
patch, test, re-structure tests
Merge branch 'fix_bower_undefined_package_name'
Merge branch 'fix_bower_undefined_package_name' of github.com:kentwills/registry

Conflicts:
	index.js