Merge all other contributions

New features
Fix Windows bugs
Adding some context here, I tried this updated tail.rb code in Logstash and it fails with the following error:

![image](https://cloud.githubusercontent.com/assets/7216393/3781827/d8caeb5e-199a-11e4-8411-60a3aa986b26.png)

In order for it to run in Logstash, I have to add the following 2 lines to the beginning of the file so it knows what System is.
```ruby
require "java"
java_import "java.lang.System"
```
Certainly, curious if the GC call is required since the existing Logstash filewatch tail.rb doesn't have it.