support `top` and `primary` as role param in configuration
Modified config.json
Add rvm files
Add ci.erb
Add travisci