Changes to support stream rule editor

Allowing to fetch/update single stream rules
Proper serialisation of single stream rules
Allowing instantiation of stream router for stream rule matching tests
Introducing parameter for stream router to en/disable caching