Started splitting up GetSchema

This is the first step in moving the legacy api
closer towards the new data model.

Also removed the moribund search function.
Merge branch 'version3' of github.com:bedatadriven/activityinfo into version3