Refactors braintree api provider constructors
Merge pull request #904 from rustyswayne/1.4.1

Refactors braintree api provider constructors