Ignore Pid in DOWN message.

If the Pid passed to stop_and_wait is an os_pid, then it will never
match with the message's Pid.
Fetch the Erlang Pid in order to match it precisely.
Merge pull request #36 from davidw/master

Fix stop_and_wait to handle ports and os_pids correctly