Merge pull request #1287 from loomio/votes-perf

votes perf fix
select groups smarter
Merge pull request #1289 from loomio/inbox-perf

select groups smarter
fix index on vote age
Merge pull request #1290 from loomio/fix-age-index

fix index on vote age
add rel nofollow
add index to notifcations
add index to motions
reduce user selects on discussion show
cache avatar
add some includes
Merge pull request #1292 from loomio/perf-include

add some includes
remove dumb spec
dumb patch
fix big security hole
perf
remove avatar cache
make inbox use less queries
make inbox use less queries
hide the reality for 50 or more unread