Init EditSession with project config.

Before this patch, tab/indent settings are not applied to newly opened file.