Simplify app css locating for layout pages
Simplify app js locating for layout pages
Merge pull request #3028 from owncloud/simplyfy-resource-locating

Simplify resource locating in templatelayout