Fix newlineAndIndent command

Closes #1415
Document second argument to replaceSelection
[javascript mode] Handle non-typical for-initializers properly

Closes #1418
[closebrackets addon] Do not auto-close single apostrophes in comments

Make exception for auto-closing single apostrophes in comments, as per
adobe/brackets#3246
[closebrackets addon] Clean up c1b7ea430aca76aaad9ce1c79990086f10a14c04
Use a slightly more complicated heuristic for adjusting cursor pos at start of change

Issue #1415
[javascript-hint addon] Fix undefined variable bug
[javascript mode] Another fix to parsing for-loop specs

Issue #1418
Standardized the type format used in manual.
Manual: Constructor method is added to miscellaneous, static members are put inside a <dl>.
Go over manual changes, try to preserve readability
Do some styling in an attempt to make manual more readable
Revert changes to cursor adjustment during replaceRange

Issue #1415
Add Midnight theme
Add npm module badge

Simple badge for current npm module
Prevent the latter part of hyphenated terms from being identified as attributes.
Merge with codemirror