Autoindent doesn't always occur

Currently autoindent only kicks in as so: 
```
<div>|</div>
```

This allows it to also work with:
```
<div>|

</div>
```
That was the original name, but will change it.

Also occurs in:
https://github.com/ajaxorg/ace/blob/3b85ddfa051527f8feafd29a25f0fda9e95fc406/lib/ace/mode/behaviour/cstyle.js#L119