case insensitive and add one more check

Made the regex case insensitive
renamed `var versions = require('./package.json')._projects;` to `var
projects =`
added `!projects[req.params.project]` in the if clause for misspelings
and project name capitalized like `Core` which would throw error