use SQL form index
Merge pull request #44 from dimagi/all_forms

use SQL form index