Implements Toggle for Database Password.

Exactly same as https://github.com/owncloud/core/pull/2548. I had got some rebase issues in that PR so I had closed it. Please check this one. @Raydiation @kabum @jancborchardt