when a tab is activated, focus the editing area

@keertip This CL focus Ace when a tab is selected. It allows the user to start typing right away in new files or when switching between files.