added set_cookies matcher and improved set_session and set_the_flash

API's of these three matchers are normalized, with taking the lowest
common specs of set_session and set_the_flash. To reduce code
duplication for the three matchers, duplicated parts are collected
into a base module of SetHashyValueMatcherBase.