try for more performance with these changes
Merge pull request #1048 from loomio/perf/motions

[*code review in progress] Perf stuff with motions. Ready to deploy