Add option to control enabling smartgrep

Allow users to prevent smartgrep from autoenabling. They can manually
control it with SmartGrepToggle.