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
I agree, jshint however wasn't happy with it. I'll change it so both of us will be happy.