Pass jslint

Thanks for the useful and interesting extension. I've made some changes that make the code pass JSLint (with the standard Brackets settings) and meet the [Brackets coding conventions](https://github.com/adobe/brackets/wiki/Brackets-Coding-Conventions).

On the diff it looks like I've changed a lot, but most of the code is unchanged.

Changes are:

1. Opening brackets are placed at the end of the line: `function findMatches(regex, lang, content) {`
2. Variables are defined with `var` only once
3. Functions are defined before they're used
4. `CommandManager.get()` is used instead of `this` (it can be hard to figure out what `this` is referring to)
5. `continue` is not used. To do this, I use `forEach()` instead of `for` loops