Add testnet3 mode

If the application versionName contains "-test", switch to testnet mode.
Merge pull request #24 from haraldh/testnet3

Add testnet3 mode