Added ability to run custom queries in baseController.all. Added ability to filter Events list queries by type
Added ability to return a list response suitable for pagination.