Breaks out package validation for sharing with brackets-registry

With this change, we can use `npm pack` to create a package that we can install into the brackets-registry project as a simple way to share this bit of code.