RC2: Optimizations, inline-crypt bug fix
Merge branch 'master' of https://github.com/petrich/phpseclib into petrich-master

Apply pull request https://github.com/phpseclib/phpseclib/pull/124
RC2: Changes according to arguments in https://github.com/phpseclib/phpseclib/pull/124