Fixing Inline Editor for tag-style directives

See the commit messages for the actual fixes. It has been tested with:

- `<dc-logo></dc-logo>`
- `<div dc-logo></div>`
- `<div ng-controller="MyController"></div>`

Secondary, fixed CodeMirror inclusion
jshint doesn't like the assignment being done inside an if-statement. You can simply change it to:

```js
directiveName = _getDirectiveName(hostEditor, sel.start);
 if (directiveName) {
```