Make twig global variables available in datagrid theme blocks

This PR closes #48