syntax detection based on scope, not grammar

this allows emmet to work in html/css based languages like hanbdlebars or erb.