single call to get slug and postcount
#2347

dont show flag on deleted posts
dont allow flag on deleted posts
dont allow upvote downvote favourite on deleted posts
closes #2347
closes #2346
#2346

dont bring modal to front if u receive a message
fixed #2350 -- chat modal now opens, but input is disabled
#2350 :shipit:
update deprecated sendfile
error checks missing return
log error path as well
less db calls

no db call for settings if uid 0
no db call for isFollowing if uid 0
Support for reloading nodebb via the nodebb executable
closed #2349, removed use of deprecated -d flag in executable
flushing db after every test group that touches the db
hasEnoughRep can take an array

user follow uid checks
restored the toolbar on mobile composer, #2293
TravisCI is TOO DAMN FAST
anon checks

less db calls for uid 0
handling case where user does not satisfy any of the privilege thresholds given to the hasEnoughReputationFor method
no need for return