Updates based on @dcapwell suggestions:  support both Hadoop 1.x and 2.x, remove license info, add boundary check for seek() in HdfsFileInputStream