SNS: Fix NPE in name lookup for autocompletion of PV names
SNS: Fix logbook 'title' length overrun

logbook API doesn't support title per se.
SNS implementation uses first line as title, and that could create an
overrun.
Now 'title' is shortened.
Merge pull request #181 from ControlSystemStudio/hotfixes

SNS bug fixes in logbook support and autocomplete name support