Use scanner instead of buffer read line

Supported in Go 1.1 http://golang.org/pkg/bufio/#Scanner