EyeLogbook account link settings

Have added ability for users (doctors) to link their EyeLogbook account to their OpenEyes account. Can be switched off by global parameter added to config file params array.
Few other minor improvements and fixes to the general code along the way.