Adding Coverails and fixing rakefile for Travis-CI builds