Support for PATCH and updated to extension manifest_version 2

Added support for the PATCH HTTP method.
Updated extension files according to Google's recommendation (otherwise the extension will be "killed" during 2013).