Make templates aware of different owncloud editions

Jan, please have a look if everything looks like you would expect it.

cc @jancborchardt @karlitschek