Removing redudant test
Removing redundant test
Removing redundant spec
Preparing for Hydra Connect

* Tidying up specs
* Tidying up action rendering classes
* Adding ability to append classes to actions

* Rendering the required attribute once

  Instead of rendering it each time, render it once. This may not be
  ideal, but its better.

  Closes #21

* Tidying up DOM arrangement

  * The hgroup tag is deprecated
  * The actions div should be outside of the article element, as the
  contents of the article tag should be "syndicatable"

  Relates to #26

* Refactoring rendering options

  Instead of relying on `template: template` paradigm, making template
  a required parameter

* Removing locals for actions

  These were being passed to a renderer and what resulted was a
  massive locals dom attribute for each button.
Persisting WorkType#identity and not #to_s

When going through the persistence process, the work type that was
persisted was the translated name. It should instead be the identity.

This was manifest when the WorkTypePresenter#to_s was looking up the
translated :name and one was set.
Appeasing the hound
Merge pull request #31 from ndlib/hydra-connect-pre-flight

Hydra connect pre flight
Creating generator for complex predicates

Not that its all that helpful, but its something.

Related to #17
@WIP Adding a failing spec for complex predicates

[skip ci]