Fix performance issues in DB queries.
Move participants method to event model.
Fix JSON methods to use arguments options.
Fix bug in participants method.