GERONIMO-4360 add HintsContextHander, fix a lot of small bugs with work contexts. changes api slightly, needs server code change too