Replacing PHPass with password_compat

Per https://github.com/owncloud/core/issues/10050#issuecomment-51333177

also https://github.com/owncloud/3rdparty/pull/110
The elseif should be on this line. Let's fix that while you're touching it.