create new doc on activate source if no active editor
Merge pull request #260 from rstudio/feature/new-doc-on-activate-source

create new doc on activate source if no active editor