Upgrade to Capistrano 3.

Turned into almost a complete re-write, but should be much cleaner
now. Bumped version to 0.3, not that it matters since I pull from githup