Wayfinder document variables

Since Wayfinder is not able to use all document variables like [+longtitle+] or [+pagetitle+] in templates, I added the little feature, that makes all document variables usable the same way like template variables.
Also added the ability to handle @INHERIT for tvs (like in ditto).

See #74