PROTON-471: Add Messenger->work to Perl bindings

Added methods for checking that a Messenger instance is blocking. Also
added asynchronous examples for Perl.

Added a recv_async and a send_async example app for Perl, based on the
Python apps.