test.bitpay.com integrated

Added Switch for Live/Test api keys