Update Cilantro to 2.2.6 and refactor to support the change

Fixes #94, #68.

The refactoring includes config options and updating the templating to use the new Cilantro template system.