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.
Merge pull request #15 from adrwhong/master

BatchEditor: Bug fixes and clean up