Fix a number of bugs relating to FCS 0.26

* Added a Range.range JSON serializer
* Correct subtle bug in goto definition JSON output
* Add a test for Error JSON output
* Wait correctly for nuget installs
Add timeouts in emacs integration tests

Previously it could hang indefinitely on failure
Merge pull request #375 from rneatherway/issue372

Updates for compatibility with latest FCS