make public link work:

- use need detail view url plus need url (as detail view url's search parameter) to compose the public link;
- change all links to need detail view to provide corresponding need url parameter (fixes #209, except for create-need-preview )