mod_base: fixes for wired id css selector support in combination with a postback.
This hack should be replaced with proper 'selector' support for wired targets.
(cherry picked from commit 28bd992360f4f305a1675f53b063227e22ff0887)

Conflicts:
	modules/mod_base/lib/js/apps/zotonic-1.0.js