Handle assets manifest during rails upgrade

Does everything mentioned here: https://github.com/capistrano/capistrano/issues/451#issuecomment-17077272

Fixes #451