Implement `lock` feature

Ensure a Capistrano version by including a `lock` directive in your
Capfile:

  lock '~> 3.0.0'

An error will be raised if the loaded version of Capistrano does not
meet the dependency specified.

Will close #488