Extension Install fixes based on feedback in 3158

* 0-9 valid in package names
* regexp literal in update-sprint-number is in a variable
* ensures that there's a main.js in the top level of the extension

I have not, yet, moved validate out of Package.js because I want to make sure that I don't conflict with @peterflynn's work.