Add data padding and key derivation.
Incorrect array representation when has previous
Fix StringHelper::substr() call.
Merge pull request #920 from bixuehujin/fixed-exception-toarray

Incorrect array representation when has previous exception
refactor Exception::toArrayRecursive().
fixed test break.