Added suport for capistrano multistage deployment. Currently two stages are defined: staging and production.