Implementation of stream match testing

Added new API method to POST message which is tested against stream
rules of specified stream and results if it matches or not
Added checking for inverted flag in stream rule matchers