changed back button on view sample and edit sample page to go to advanced search results when coming from results page
added fromFavorites parameter to url for view and edit links