Catch Swift_TransportException before Swift_IoException

Swift_TransportException is a subclass of Swift_IoException
Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of string version of key
bug #493 Hash function now uses SSL resource instead of string version of key (jamesggordon)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Hash function now uses SSL resource instead of string version of key

Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of the string version of key. Please note that this same change was made to DomainKeySigner.php on 9 Jan 2013.

Commits
-------

fa0ad84 Changed hashing function to use the resource returned from open_ssl_get_privatekey() instead of string version of key
Add escaping to sendmail reverse path
bug #494 Add escaping to sendmail reverse path (romainneutron)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Add escaping to sendmail reverse path

Commits
-------

efc4306 Add escaping to sendmail reverse path
updated CHANGELOG
prepared the 5.2.1 release
bumped version to 5.2.2-DEV
bug #481 Catch Swift_TransportException before Swift_IoException (reedy)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Catch Swift_TransportException before Swift_IoException

Swift_TransportException is a subclass of Swift_IoException so should be dealt with first if exists

Commits
-------

03c9373 Catch Swift_TransportException before Swift_IoException
removed @package and @subpackage annotations
minor #501 removed @package and @subpackage annotations (fabpot)

This PR was merged into the 5.2-dev branch.

Discussion
----------

removed @package and @subpackage annotations

Commits
-------

9c67cb8 removed @package and @subpackage annotations
removed unneeded comments
removed unneeded comments
fixed CS
Fixing @return tag for getFrom method

The @return tag for the Swift_Mime_SimpleMessage::getFrom method should be mixed instead of string because both null (e.g., when the 'From' header is, for some reason, not found) or array (e.g., when multiple-from's are specified, other cases as well) may be returned.
minor #506 Fixing @return tag for getFrom method (terrycorley)

This PR was merged into the 5.2-dev branch.

Discussion
----------

Fixing @return tag for getFrom method

The @return tag for the Swift_Mime_SimpleMessage::getFrom method should be mixed instead of string because both null (e.g., when the 'From' header is, for some reason, not found) or array (e.g., when multiple-from's are specified, other cases as well) may be returned.

Commits
-------

c62ea93 Fixing @return tag for getFrom method
Removed unused field
Fix type hints for some fields
Fix typo in typehint
Fix incorrect return type doc

You can see it was incorrect by looking at RedirectPlugin::beforeSendPerformed
and at the implementations of the Swift_Mime_MimeEntity interface