added sphinx search to entities; added typeahead to notes/new