Base: Use exceptions instead of user_error
Merge branch 'master' of https://github.com/phpseclib/phpseclib-php5