Fix bugs in MVC example

There are two bugs in the MVC example: it doesn't handle PUT requests and doesn't update pet names. This pull request fix these two bugs with two commits.

Can you please approve it?