Old PR + added Sphinx

Sorry the PR is a bit complicated ... I pushed to my repo before re-basing from the sfbrigade repo, and then had to pull back from my repo to get the push to work. Hope that's okay... 

There's also the changes I made for the import job to be a little forgiving of the format of the emails attributes + some changes I made to make pagination work even when there are no results.