made getEvents() more flexible on input.
made getEvents() more flexible on input.

ilios/ilios,thecoolestguy/ilios,Trott/ilios,stopfstedt/ilios,dartajax/ilios,stopfstedt/ilios,thecoolestguy/ilios,Trott/ilios,dartajax/ilios,ilios/ilios