$newTagIds set to false by Set::extract causing array_merge to halt while in debug

If $newTagIds come back as an empty array, there is no checking before
the $newTagIds = Set::extract($newTagIds, '{n}.Tagged.tag_id'); which
will return a false causing execution to halt when debug mode is set to
2.

I updated the code the check $newTagIds for empty before allowing the
Set::extract to happen so if it is empty, it will pass an array() to
the array_merge and not throw a warning.

I also cleaned up some minor coding standard issues.
Merge pull request #41 from cdburgess/develop

$newTagIds set to false by Set::extract causing array_merge to halt whil...
Fixing empty tag record generation https://github.com/CakeDC/tags/issues/43
Reverting AllTagsPluginTest.php
Fixing strict notices and coding standards in TaggableBehavior.php
Merge pull request #48 from rikdc/feature_cake2.4.2

Fixing strict notices and coding standards in TaggableBehavior.php
Changing paginate() to be called through the Paginator component to reflect the changes in the core
Updating the corpyright year
Added Composer file.
Merge pull request #50 from occitech/feature/composer

Added composer file