Use latest Clover.
Explicit Clover version to avoid build failures.
start refactor SpriteImageLayout from to class

- replace SpriteImageDirective.SpriteImageLayout enum with
  SpriteImageLayout interface
- try to stop checking for an enum value and check Class.isAssignableFrom

- add new SpriteImageDirective.valueOf method to output a SpriteImageLayout
  by convention
- add implementations of SpriteImageLayout (HorizontalLayout and
  VerticalLayout) and put as many things as possible in there.
- modify test cases to use new valueOf method
refactor calculateLeastCommonMultiple

- move to SpriteImageLayout.calculateRepeatAlignmentDimension
- add AbstractLayout.getDimensions
refactor buildSpriteImage to SpriteImageLayout
dead import removal
minor refactor of valueOf method

- put return value in local variable and set initial value to
  defaultLayout
remove private static methods

correctAlignment + getDefaultAlignment methods
use SpriteImageLayout methods instead
remove unused method calculateLeastCommonMultiple