Bugfix in resourcemanager: do not decrease counter for local id handles.
Added try catch for assert since firefox won't allow the access of caller.
Modified configuration to distinguish between HTML and XHTML elements.
Added try/catch block in element.style modification as this results in exceptions being thrown by Firefox.
Adapted tests to work in Firefox.