#262 search phrases string formatter

I've also added new lines at the end of the files in package pl.edu.icm.saos.webapp.