Merge pull request #82 from sambohler/master

Fixes #68: removed duplicated mcrypt code from Bitauth.php and moved app...
Removed unused variables
Changed In the Item class, the property  is declared to be of type float. Added more tests for setPrice
die changed to throw exceptions
Update ItemTest.php
Merge pull request #83 from bitpay/minorbugfixes

Minorbugfixes
Fix for expected private key length

We're working with the decimal form of the number here, so it can be slightly variable since any leading zeroes from the hex are not used.  I generated 1,000,000 keys and the range of sizes were:

Array
(
    [0] => 78
    [1] => 77
    [2] => 76
    [3] => 75
    [4] => 74
    [5] => 73
    [6] => 72
)

I think it's safe to say we shouldn't see anything less than 72, although it's still theoretically possible since the number can be in the range of [1, n-1].
Small bug fix
Merge pull request #84 from JoshuaEstes/ContainerUpdates

Small bug fix
Revert "Small bug fix"
Merge pull request #85 from bitpay/revert-84-ContainerUpdates

Revert "Small bug fix" because it broke build
PHP Unit 4.3 breaks tests

The MockObject code changed in PHP Unit 4.3:

1) Bitpay\Client\ClientTest::testCreateInvoiceWithError
Argument 1 passed to PHPUnit_Framework_MockObject_Builder_InvocationMocker::will() must implement interface PHPUnit_Framework_MockObject_Stub, string given, called in /home/travis/build/bitpay/php-bitpay-client/tests/Bitpay/Client/ClientTest.php on line 133 and defined
/home/travis/build/bitpay/php-bitpay-client/tests/Bitpay/Client/ClientTest.php:133
Update composer.json
Fix for expected private key length

Range will probably be 72 < x < 78
Un-reverting Joshua's bugfix since

the broken build was due to the latest version of PHP Unit 4.3.x breaking things on us.
Added new PEM encoding and decoding functions. Also
added two corresponding tests.
Fixed pemDecode scope.
Extra space fixes for PSR.
Fixed misspelled function name.

If I could learn how to type that'd be great...
Updated travis-ci config so notifictions are sent out on failed builds