Fixes for project scoping in search

Fixes a bug in search scoping. Adds project from path_kwargs to query to restrict project scoping. Raises 404 in a single project instance is not found.

#todo: 
1. Custom error codes/messages for project query failure
2. Restricting project membership for search(?)