Fix wrong url in update_avatar spec stub request

- updated incorrect url so that the spec would stub correctly
- also added 2nd stub for the put request so that the test wouldn't fail
  when it couldn't find the discourse development server.