Pavtel handling all params in search service for restful api module

see #290
Just a note: you depend here on equals method. Sometimes it is not advisable... but here equals takes (and I guess will always take) into account all fields so it shouldn't make any troubles.