Refactor search a little bit
	modified:   app/assets/javascripts/orangeproton.mindmap.js
	new file:   app/assets/javascripts/orangeproton.search.js
	modified:   app/assets/javascripts/request.js
Fix history bug and more small refactorings

	modified:   app/assets/javascripts/orangeproton.generic.js
	modified:   app/assets/javascripts/orangeproton.location.js
	modified:   app/assets/javascripts/orangeproton.search.js
	modified:   app/assets/javascripts/request.js