Fixed Config File Ending Bug

In the previous implementation the last line of a config file wouldn't
be read if the file didn't end with a newline, because of the way
bufio.Reader.ReadLine() works.  Using bufio.Scanner to read lines
works better and eliminates the problem.