[Tests] Add the possibility of pass custom PHPUnit arguments via environment var.

set PHPUNIT_OPTS=--exclude-group=slow
Zend\Db: Fixes changes introduced in #1476
* Removes concept of alias from TableIdentifier
* Cleans up tests
* Corrects use cases of TableIdentifier when alises is used
ZF2-387 classmap_generator.php does not detect multiple classes in a single file

added support for multiple classes in a single php file
added support for multiple namespaces in a single php file
added tests
refactored classmap-generator
Updated to Match Zend\Http\Response methods
[Mail] Remove encoding implementation for headers without encoding
[CS][library] Remove @copyright & @license

for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@copyright/d' $fl.old > $fl;       rm -f $fl.old; done;
for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@license/d' $fl.old > $fl;       rm -f $fl.old; done;
[CS][Library] Set File Header

http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files

The following script replaces the content between PHP open tag and namespace declaration.

for COMPONENT in $(ls -d *)
do
    for FILE in $(find $COMPONENT -name "*.php")
    do
        BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
        perl -0777 -i -pe "s/(<\?php(\s*.*)*\nn)/<?php\n$BLOCK\n\nn/" $FILE
    done
done
[CS][Library] Set File Header

http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files

The following script replaces the content of the first comment in the file (useful for files without namespace declaration)

for COMPONENT in $(ls -d *)
do
    for FILE in $(find $COMPONENT -name "*.php")
    do
        BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
        perl -0777 -i -pe "s/(\/\*\*(\s*\*.*)*\/)/$BLOCK/" $FILE
    done
done
[CS][test] Remove @copyright & @license

for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@copyright/d' $fl.old > $fl;       rm -f $fl.old; done;
for fl in $(find . -name "*.php"); do mv $fl $fl.old;       sed '/@license/d' $fl.old > $fl;       rm -f $fl.old; done;
[CS][Tests] Set File Header

http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files

The following script replaces the content between PHP open tag and namespace declaration.

for COMPONENT in $(ls -d *)
do
    for FILE in $(find $COMPONENT -name "*.php")
    do
        BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
        perl -0777 -i -pe "s/(<\?php(\s*.*)*\nn)/<?php\n$BLOCK\n\nn/" $FILE
    done
done

3 files was manually fixed
[CS][Tests] Set File Header

http://framework.zend.com/wiki/display/ZFDEV2/Coding+Standards#CodingStandards-Files

The following script replaces the content of the first comment in the file (useful for files without namespace declaration)

for COMPONENT in $(ls -d *)
do
    for FILE in $(find $COMPONENT -name "*.php")
    do
        BLOCK="\/\*\*\n \* Zend Framework \(http:\/\/framework\.zend\.com\/\)\n \*\n \* \@link      http:\/\/github\.com\/zendframework\/zf2 for the canonical source repository\n \* \@copyright Copyright \(c\) 2005-2012 Zend Technologies USA Inc\. \(http:\/\/www\.zend\.com\)\n \* \@license   http:\/\/framework\.zend\.com\/license\/new-bsd New BSD License\n \* \@package   Zend_$COMPONENT\n \*\/"
        perl -0777 -i -pe "s/(\/\*\*(\s*\*.*)*\/)/$BLOCK/" $FILE
    done
done
[CS][Tests] Rest of files
[CS][Library] Rest of files
[Server] Remove deprecated code
[Mail] Remove deprecated code
[Json] Remove deprecated code
[Twitter] Remove deprecated code
[Gdata] Remove deprecated code
[LiveDocx] Remove deprecated code
[Filter] Remove deprecated code