should fix tests

minitest 5.1 for rails 4.1 and core, streaming for rails >= 3.1

reenable stream test for java and emptyline cleanup
Merge pull request #514 from timcolonel/master

Upgrade to minitest 5 for core tests and rails tests >= 4.1