Adding a cabal flag for compiling haskoin against testnet

This is a proposed change to compile haskoin against testnet using a cabal flag on installation:
```
cabal install --flags=testnet
```
However, the tests blow up if you compile against testnet. Can you help me have a look? We probably need to disable prodnet-only tests.