Export "Grammar" class

Allows other packages to inherit from `Grammar` in order to programmatically define language grammars.

Use case: https://github.com/p-e-w/language-javascript-semantic
Previous discussion: https://github.com/atom/atom/issues/2548