Update to use Capistrano 3
Fix for stack overflow bug

Kept reparsing the the same text over and over again because of a mismatch
between lowercase and uppercase text.