Add password_check to password fields

Previously no “weak password" indication when set a weak password
in password_page.
Now the migrated password_check function was used in the pasword
wigets to return informative messages to the user.
Also add password_check for upgrade_page

Change-Id: Iff668859b72176c64b4bbc2a08ac6419d021271b
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=983449
Signed-off-by: hadong <hadong0720@gmail.com>