syntax detection based on scope, not grammar

this allows emmet to work in html/css based languages
like hanbdlebars or erb.
Simplify scope detection
Add tests for new format