Limit search by contacts, companies, people

Added an option to limit search by people, companies or both. The
redirect_to option was a bit tricky.