avoid requesting unreachable questions (see #68).

Currently the gain is not noticeable. It might become more important
once there are more subquestions.
avoid querying uninteresting data (see #68)
cache SQL results for json_for_question → answer+subquestion resolve