David Shearer named as new Labour leader