fix template edition style
fix template save after creation
don't send attributes without name to server
Merge remote-tracking branch 'origin/master'
merge branch "DocumentMasterTemplate-edition-rework"