Reworking of resource widget

With the fix of the rdfa.js (next commit) resetting the page without
reloading has become much clearer. This is commit restructures the
resource widget accordingly. Other widget will also be reworked.
Fix: Full URIs in rel/property attributes

Full URIs in rel or property attributes are not parsed correcly. The
'http' is treated as namespace prefix.