add gem 'tzinfo-data' for windows
add Array#to_h patch for ruby < 2.1.0

The Array#to_h doesn't exist in the previous version of ruby.
fix some code of endowment
add time localize method