capistrano deploy: refactor and add asset precompile