Fixing tests - setting template_extension to .html
Fixes to session handling and configuration
Adding macro support and finishing up example project