added Enum instance for Either

Added an Enum instance for Either consistent with Either's Ord, also added jsvalidate into the mix.

Review / merge by @garyb or someone else who can merge :)