Problem: zmq_msg_gets did not set errno on unknown properties

Solution: set errno to EINVAL when a property does not exist.

Also fixed test_metadata.cpp to test this case.
Merge pull request #1111 from hintjens/master

Problem: zmq_msg_gets did not set errno on unknown properties