Adding direction parameter to 'color gradient' field

If 'direction' is set to true, the color gradient will display a
dropdown with "Vertical" and "Horizontal" (stored as 'dir').