Use a single hub_edit endpoint for both GET and POST requests
Somehow, the approach of splitting hub_edit into hub_edit_get and
hub_edit_post one accepted GET only and the other POST only did not
work (while it does for editing widget). I am not sure why.
This commit move to use a single endpoint for both GET and POST but
the logic remain split into two different methods.