Gordon Brown draws on Ecclesiastes in heartfelt plea for unity in Scotland