add Accept header with app/json
fix rubocop stuff
Merge branch '302issue' of github.com:cloudfoundry-incubator/admin-ui into 302issue