renamed ErlangContextType to ErlangTemplateContextType
remove unused code in ErlideScanner
small fixes
add tests for erlide_open, mostly to document the returned values