Make it possible to retrieve the active grammar directly from the textdocument
Edbee is a flexiable editor. It is possible (in theory) to create a custom lexer.
Currenty we're using a single lexer called the GrammarTextLexer, which is the lexer that uses TextMate grammar files.
We should construct a nice method to retrieve the active textgrammar