Refactor actions rendering. Closes telerik/kendo-ui-core#327.