cylc release: fix families regex bug

This fixes a bug in `cylc release` where an inexact (regex) family name is used.

I've also put up some task and family specific tests for `cylc hold` and
`cylc release`.

@hjoliver, please review.