Improved and simplified the module a bit.

Removed the Creatinvoice.php and used the default WHMCS params.
Used the WHMCS recommended includes through the init.php file.

Currently I'm not able to test it, because I'm still waiting to get approved for an BitPay account. :(