optimize getUnreadByField

only get the most recent 100 notifications
dont call UserNotifications.getNotifications which does alot more work,
call the db directly
Merge branch 'master' of https://github.com/NodeBB/NodeBB