Spring 22 uses getSpaceUnits, not getIndentUnit

But don't want to break extension in older versions of brackets
code refactoring (jshint)
add comment for brackets api version support
merge pull request about brackets API change. Fixes #2
code refactoring (rename vars)