Moved stuff to partials
Moved curl bootstrap to base.tmpl
Moved sourcelink partial to its own partial
Import index.tmpl and index_helper.tmpl from base-jinja (commit 6c39636)
Create a custom element <curl-script> in order to run (in a safe manner) code from templated areas
Handle root url
Add extrajs region to the rendered templates

Also, updtate the context calculation to the latest exposed by the spa plugin
Load bootstrap.js as a dependency
Split the gallery js code into a module and a function call handled curl
Move curl inclusion before the extra_js block and handle colorbox links using curl-script
Take care of index.tmpl too