[WIP] Enforce password strength

Continuation of https://github.com/owncloud/core/pull/10976 since I also refactored the password change management.