Autoindent doesn't always occur

Currently autoindent only kicks in as so: 
```
<div>|</div>
```

This allows it to also work with:
```
<div>|

</div>
```
don't indent after closing tag
fix #2183 scrollPastEnd breaks vScrollBarAlwaysVisible=false option
do not add extra semicolon in built files
fix #2190 autocomplete doesn't show tooltip when list initially appears
do not show error for empty json files
Merge pull request #2210 from ajaxorg/misc

Fix several small issues
tidy up autoindent

use voidElements and double quotes.
autoindent from start of tag
autoindent tweaks

use camelcase and start line indent
Merge pull request #2198 from adamjimenez/patch-2

Autoindent doesn't always occur
Fix typo
Update documentation to reflect change introduced in 9253fffb9f
use mode delegates in PHP

fixes #2197
update comment too
Merge pull/2215
Add COPY as a Docker command to be highlighted
Merge pull request #2218 from SomeKittens/master

Add COPY as a Docker command to be highlighted
fix php indentation
fix inline php mode