Don't attempt el-doc without a session

When there is no session available, and eldoc was activated, there
would be an error message reported by eldoc complaining of a wrong
type.  The error was being caused by there being no tooling session.
Merge pull request #364 from hugoduncan/feature/dont-try-eldoc-without-session

Don't attempt el-doc without a session