Optimize channel logs

This implements saving logs per channel rather than per channel per user. This reduces the load on mongodb backend and helps waartaa respond faster. We also implement here a buffer collection with only recent logs for channel logs to speed up read/write of data.