Remove targetUrl from forms and redirect based on item type / item ID or microcosm ID

* when posting a comment, redirect is constructed from item type and ID.
* when deleting an item in a microcosm, microcosm ID is used to construct the redirect.