make sure styles and scripts are only loaded once
use script instead of \OCP\Util methods
load showpassord.js conditionally in the template only if needed
Merge pull request #12759 from owncloud/core-reduce-js-and-css

make sure styles and scripts are only loaded once