Improved handling of link and child resources of forms
- test-item-procs: use resolve context to resolve e.g. images in the context of the original form
(many thanks to Thomas Renner for the suggestion)
- added extra argument "-context_obj" to substitute_markup to ease client code
- inclass-exam-answer.wf: reduced the db interactions by using form_info for form generation