OPEN - task #201: logbook history support 
http://github.com/ControlSystemStudio/cs-studio/issues/issue/201

Add preferences for history and pagination
Merge branch 'logbook' of https://github.com/ControlSystemStudio/cs-studio into logbook
task #246: Shift service, clean up code, plus small fixes such as refresh the shift from the table before closing or ending it to check that it wasn't close but did not refesh the tabel