BatchEditor: Bug fixes and clean up

- changed all uses of scope hack "var widget = this;" to use lang.hitch
instead.
- fixed error when clearing user drawn graphics.
- feature counts/updated strings in panel are now showing the proper
information.
- fixed error where clicking a draw icon would result in console errors.