move scanner reference counter to erlang process; move long-lived scanner instance to editor
fix initializing the scanner when resetting
make getScanner API in IErlModule
clean up warnings and debug printouts
add test for resetCache not clearing the model
Merge pull request #92 from vladdu/scanner

1115: ide backend runs out of memory after doing several searches