#203 Add PATCH support for updating app instances

This PR adds support for PATCH to update app instances. The PATCH method behaves exactly as the PUT used to behave in earlier version. The PUT method now stops the running app with the given ID and replaces it with the new `AppDefinition`.