Improve regex for finding existing routes

Some improvements to the check for existing routes:

- More liberal with spaces around parenthesis
- `"` now works in addition to `'`. (This looks like it was an oversight)
- Don't capture the first group
I think, this is complex enough to warrant an explanation:

    (?:route|resource)   // non-capturing match for literal "route" or "resource"
    \s?                  // zero or one white space
    \(                   // opening literal parantheses (
    \s?                  // zero or one white space
    (['\"])              // matching/capturing for single or double quote
    name-variable
    \1                   // matching the previously captured single or double quote

One tiny suggestion: wouldn't `\s*` make more sense than `\s?` ?