Payment Protocol: Added tests and misc formatting. Closes #697

```
bitcore/lib/paymentprotocol/		statements: 91.21%
```