Removed some unused code
Added support for DER encoding to ECSignature

Ported this from dartcoin.ECDSASignature.