Feature Improvements

@laktek i opened this pull request because this adds features we need in our project see
https://github.com/adobe/brackets/issues/2757
so please look at it and consider merging into master