unit test for embedded styles in inline editor
add unit test for finding embedded style blocks
merge conflict
Issue #3131 - Making JSLint errors copyable
Basic support for code hinting in html files.

For HTML files, we replace the HTML sections with whitespace, leaving only the text of the script tags for Tern to see.
This way the offset/cursor positions don't need to be translated, which would be necessary to get jump-to-def to work.
Add tests for jscodehints in an html file.

Also fix some bugs with jump-to-def and function type hints uncovered by the tests.
Forgot to add new test file
refactor HTMLUtils.findStyleBlocks to find arbitrary blocks.

The js code hinting code needed to find script blocks, so refactor the style block code to find any kind of block, and call that instead of having another copy of the code.  findStyleBlocks now just calls the generic method, looking for "css" blocks.

Also fixed up the block finding code to handle empty blocks, which I ran into when looking for "javascript" blocks.
Merge branch 'master' into html-script-hinting
Fixup branch so it will merge cleanly again.

Conflicts:
	src/extensions/default/JavaScriptCodeHints/unittests.js
Fix to make the sidebar correctly highlight the current document upon Brackets launch, after closing Brackets with the sidebar closed.
add new test cases
fix over-repaint issue when typing
restore styles
Merge branch 'master' into html-script-hinting
Code review cleanup - mostly in the unittests
use start (not end) of selection to determine soft tab spaces
Added tab to fix alignment issue in code.
Fix code review issues.
optimize CodeHintList DOM build
use trigger instead of triggerHandler to mimic clicks. fixes missing commit of code hint when pressing enter.