Support locking charms to a release revision

Signed-off-by: Adam Stokes <adam.stokes@ubuntu.com>