Adds ECPubKey.verify and tests for ECKey signing

The following pull request add the `ECPubKey.verify` function for verifying a signature using only the public key.

It also moves the `ECKey.[sign/verify]` functions to the relevant section of the code in `eckey.js`