Refactor Bitpay_Controller

Refactor bitpay_controller.

Break methods into smaller, single-purpose methods and move several methods to bitpay_invoice model.
why does this line use `@order` instead of `order`?