Allow a limit parameter to be set on events queries, set a default limit of 20 results and a maximum limit of 50 results.