Rename getStyleInfo() to _getStyleInfo(). Add private method warning.
Simplify/fix flags.selectedLayer logic
Get rid of new promise, per Joel's feedback
Copyright date 2014
Add private module warning
Add _ to module variables; fold var declarations into one
Flip jslint bitwise comments to jslint
Rename style.extractStyleInfo to style._extractStyleInfo
Add JSDoc and private API notide for style.extractStyleInfo
Minor fixes following PR code review changes