29165 handle errors

* Modify (backwards compatable) showError fn to take a scope object
* Update tests that started to fail after the above change

@prabinv @texasag @tsanko - please code review especially the test. @prabinv - It seems like the response from the mock changed and the err object returned changed somehow? Any ideas as to what I did to elicit that ? 
Can you update the version no. in the `package.json` file too, so that the dist files have the updated version numbers?