FLUID-4973: Fixed crash log "logActivity" on IE8 and removed unused utility "applyHostFunction". Some test cases for activity describing and logging in FluidJSTests.js