fixed corrupted decrypt() in CTR mode

$buffer['encrypted'] (which is always empty) should be $buffer['ciphertext'] or buffered stream will get corrupt...

Example:
define('CRYPT_AES_MODE',CRYPT_AES_MODE_INTERNAL);//in MODE_MCRYPT all is fine
$aes = new Crypt_AES(CRYPT_AES_MODE_CTR);
$aes->setKey(':-8');
$aes->enableContinuousBuffer();
$plaintext = ':-):-):-):-):-):-)';
for($i=0; $i<strlen($plaintext); $i++) {
 echo $aes->Decrypt($aes->Encrypt($plaintext[$i]));
}

Output:
:-):-):-):-):-):-(

Expected:
:-):-):-):-):-):-)


After Bugfix, output is:
:-):-):-):-):-):-)
CFB didn't always work in continuous mode
Merge pull request #43 from petrich/patch-1

fixed corrupted decrypt() in CTR mode
Fixed CFB Decrypt(). Fixed OFB warnings

Fixed/rewritten: Decrypt() in CFB mode to work clean with enableContinuousBuffer()

Fixed: PHP's strlen(array()) warning in OFB mode,

Fixed: disableContinuousBuffer() clear's now also the $enbuffer/$debuffer arrays so that multiple calls to enable/disableContinuousBuffer() will work without old buffers
[issue/39] Abstract test case for Crypt_AES.
[issue/39] Test case for Github ContinuousBuffer issue 39.
[issue/39] Extend tests to cover other modes. Also IVs, keys, etc.
Merge remote-tracking branch 'petrich/patch-2' into petrich

Conflicts:
	phpseclib/Crypt/Rijndael.php
CS adjustments to petrich's code and optimizations
Fix E_NOTICEs in the rewritten CFB mode
AES.php in mcrypt mode always treated CFB as though it was a continuous cipher
Merge remote-tracking branch 'origin/petrich'
Merge remote-tracking branch 'origin/petrich'
SSH1: Fix E_NOTICE (thanks nosx!)
Revamp SSH1 logging and go back to using user_error

(_handle_error returned the line number in _handle_error - not the line number triggering the error)
rm debug code
AES: Fix broken CFB and disableContinuousBuffer()

Quoting from petrich's pull request (from which this commit was inspired):

Fixed: Broken CFB in continuous mode when using CRYPT_AES_MODE_MCRYPT (related to: #39 )
Fixed: Multiple calls to enable/disableContinuousBuffer()
Fixed: Some PHP Notice/Warnings about strlen(array())
SSH1: Packets shown in log were encrypted
SSH1: fix "Expected SSH_SMSG_SUCCESS" error
SSH1: Fix E_NOTICE