Use an Integer instead of an Array for error count.

Using array for error count consumes lots of memory when
retry_limit is large. We don't use an item in @error_history,
so we can use simply number count instead of array based approach.
Merge pull request #386 from fluent/use-num-count-for-retry-count

Use an Integer instead of an Array for error count.
Dump version info at dry run mode
Merge pull request #388 from fluent/add-start-log-at-dry-run

Dump version info at dry run mode
V1's escaped parameter should be unescaped at dump process
Fix typo and add test
Merge pull request #389 from fluent/unescape-parameter-at-v1-config-dupm

V1's escaped parameter should be unescaped at configuration dump phase
add jruby support hackings.
Fcntl does not supoort on Jruby with 64bit Windows.
for keeping order.
add helper for standalone test
add win32 specific support for inode.