FLOE-219: Fixed unit tests in safari and chrome

Addressed the failing unit tests that were failing in chrome. This included rewriting the resourceInputPanel tests in the IoC Testing framework style.

http://issues.fluidproject.org/browse/FLOE-219