Added StringHelper::dirname()
Added $label parameter to ActiveField::label().