Make NoSuchResourceException a checked exception

Groovy generally doesn't distinguish between checked and unchecked
exceptions, but core-api may be used from Java, and, more importantly,
Spring roll back a DB transaction is a transactional method throws an
unchecked exception (by default; one can mark the method is such a way
that this doesn't happen).
Merge thehyve/master into transmart/master