Add extended URI check & feedback

This branch enables a more extensive check for URIs entered in the resource
widget. First and foremost, empty (or faulty) URIs will be no longer be
commited. Instead highlight (read 'red border') will indicate the input
field with the invalid URI. See also workaround #310.

Additionally, prefixed URIs will be translated properly, if the prefix is
known.

There are still some open ends and ToDos here:

The RDFauthor currently does not know the prefixes defined for an OntoWiki
model. Those should be passed via the
OntoWiki/application/classes/OntoWiki/Controller/Base.php
Additionally, the RDFauthor has to be adapted to use those additional
prefix definitions.

Also, there are right now only three schemes implemented (mailto, tel and
urn). There are a lot more schemes that should be provided by a config file.
Change array check to more reliable jquery method
copyWithObject will respect a passed type

When editing with RDFauthor, there is a method called
copyWithObject that copies a statement's subject and predicate, but
exchanges the old object for a new one. However, there is a line of code
that explictly adds the type of the old object to the new object.
We now check first if the new object has a type and only add the old type
if no type is given.
Fix update spinner when using popover controller
Merge branch 'feature/extendedURIchecking' into feature/rdfauthor-FormBuilder

Conflicts:
	src/rdfauthor.popovercontroller.js
	src/rdfauthor.statement.js
	src/widget.resource.js