update to xsl 2.0
fixes to save profile
reset title after save
simplify the template
set resource location after save correctly
simplify original texts template even more; fix 'new' button so it works when the document is already new
enforce correct ordering in result context