add engineAPI config
rename cse->engine
Set up legacy search support (aka ajax)
Clean up and legacy tests.