change password hashing algorithm

Use PhPass for password hashing.
add modules plug to support plugin custom hashing.
add salt field in db for support plugin custom hashing.
expand db field for accept very long password from user.
rewrite some code