Added parameter matching for received messages

ISSUE #47 this allows the received function to work with a simple pipe for
equals as well as match  parameters via the matches macro

Currently the check in the equals macro is limited to received itself, this
should probably just be a is_function, but I didn't get it to work inside the
macro :(