Added ExpressionEngine < 2.6.0 compatibility and two new event parameters: localize and all_day.