Enhancing Search Function, etc.

This should add the option of searching emails and capcodes. Futhermore, it would require regenerating Sphinx indexes because the capcode datatype was changed from ENUM to VARCHAR recently.

Note: This is only done for Sphinx. MySQL will need some additional indexes on two columns.