added testnet definitions for litecoin and dogecoin, modified ecdsa signing behavior to return DER sig