pull the version number regular expression into a variable
0-9 are valid in package names
tests for main.js that is not in the commonPrefix (to guarantee that we have a main
at the top level of the extension)
Merge pull request #3168 from adobe/dangoor/install-extension-fixes

Extension Install fixes based on feedback in 3158