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