Support read_from_head without pos_file option

Including InputTestDriver fix and adding more tests from pull #247
Merge pull request #346 from fluent/support-read-from-head-without-pos_file

Support read_from_head without pos_file option