Small fixes and new get_legend script
Added get_legend for cached template based interactive legend
Added InteractiveLegend and made SendPermalink optional
Sample config
Make the new stuff work with HelloWorld sample project.