rewrite Account.subscribed_to(post) as post.subscribers
use SQL functions instead of embedded UPDATE/INSERT queries
Merge branch 'master' into xmpp