Add format option to search_form_for, add tests,

clean up test code,
and update README:
- add info regarding the format option in search_form_for
- change absolute url to relative one for CONTRIBUTING.md