Remove getline and replace with fgets

This is to restore compatability with Mac OS X <= 10.6

Update CHANGES and AUTHORS