Simplifying getSignature() test.

The real testing should be done in the SignatureTest class.
Committing current work.

PHP's support for OpenSSL error handling sucks, and since there is no support for progressive hashing anywhere, I will later switch to using the phpseclib for OpenSSL signature verification.