Split template
Fix to use template also in get_contexts
Add context_actions
Implement source context_actions
Merge branch 'context_actions'