Theme modify endpoint: adding an action parameter to the request

We are merging the update functionality for themes into the modify endpoint.
This will require an action parameter so we know what we are doing.