Remove wait queue.
Merge branch 'rm-wait-queue' into develop
Some small performance optimisations.

Most significant is the replacement of `Maybe (Either Resource
Resource)` with `Box` to distinguish with a STM transaction if a
resource has been created new, was used before or is absent.
Add more type-class instances.
Bump version and update changelog.
Release as version 0.12.0