Fixed signature version 3 calculation and issues wigh calculateSignature method

Pingback signature calculation fixed similarly to other libs.

Fixed issues with Widget calculateSignature method scope. 
The method is now called correctly on line 97. 
Constants SIGNATURE_VERSION_1 and SIGNATURE_VERSION_3 are now accessed correctly on lines 123 and 156 respectively.