Search storage tests

- Search now receives and filters by the submitter's id. 
- Search in postgresql does not filter by submitter if submitter is none. 
- Search in memory returns each document once, even if it matches multiple search terms. 
- Tests added for search