function analyze(session, instant, isChange) {
            if(isChange) {
                runSessionHandler(session, "change", 1000);
            }
            runSessionHandler(session, "index", instant ? null : api.getHandlerTimeout("index", session.filename, 1000));
            runSessionHandler(session, "check", instant ? null : api.getHandlerTimeout("check", session.filename, 2000)).then(function(annos) {
                setAnnotations(session, annos);
            });
        }
Analyzes session and sets findings as annotations
@param session session object
@param instant perform handler instantly
@param isInit is set to true when this handler is called only initially (i.e. not after a change)