Refactored GenericFile gets:

* Added getchar() to the public interface
* Renamed the gets implementation to _gets_impl and made it protected
* gets is implemented by calling _gets_impl for GenericFile_HDFS and _Blob,
  and by calling stdio's fgets() for GenericFile_stdio
Merge branch 'dev' of https://github.com/amplab/snap into dev