Inline include from template id/ref

Quick fix for my own issue #70

Adds an option to allow for include via id in inline templates.