Cherry-picked actions.py and tests from features/rengine branch.
Fixed bug in SseHTTPServer (wrong error message in case message is not a dict), adapted tweetprocessor and queuefiller to Jan's wrapper class.