Change flag from bool to string.
Merge pull request #29 from christianlundkvist/testnet_support

Change testnet network flag from bool to string.