Fix for environment-specific application name

E.g. when you do ```set :application, "..."``` in ```config/deploy/staging.rb```
Merge pull request #35 from glebtv/patch-1

Fix for environment-specific application name