Refactors directive methods to be consistent
Fixes `Stencil::contexts` method to deal with polyglot exec directives. Closes #23