SimpleCov coverage saving for rake task
Start SimpleCov before loading any metric_fu, then set formatter

Otherwise, metric_fu code will be loaded before SimpleCov turns
Coverage on and it will not be tracked
More SimpleCov groups
Test fix actual fix for #153; ignore lines SimpleCov ignores

Will break old RCov behavior where a file is that is loaded, but
no lines executed, will have a coverage percentage.  Under the
new rubric, it will be 0.0, which really is more correct.

Since we've already removed support for running via RCov, this
won't be a problem.
Break old RCov behavior in favor of SimpleCov, see previous commit
Fixes #153; Coverage reports now behave like SimpleCov
Turn off Coverage tests under JRuby.

 see https://github.com/metricfu/metric_fu/pull/226
     https://github.com/jruby/jruby/issues/1196
     https://jira.codehaus.org/browse/JRUBY-6106
     https://github.com/colszowka/simplecov/issues/86

Travis ENV modified per
http://docs.travis-ci.com/user/ci-environment/#Environment-variables

@enebo https://twitter.com/tom_enebo/status/462289024107814914
recommended JRUBY_OPTS="-Xcli.debug=true"
but that didn't work and caused other failures
JRUBY_OPTS="--debug" Still produced the below error, as did
JRUBY_OPTS="--debug -Xcli.debug=true"

Failure message was
home/travis/build/metricfu/metric_fu/gemfiles/vendor/bundle/jruby/1.9/gems/simplecov-0.8.2/lib/simplecov.rb:31 warning: tracing (e.g. set_trace_func) will not capture all events without --debug flag

SimpleCov::Formatter::MetricFu calculates the same coverage from an RCov report as from SimpleCov
     Failure/Error: expect(source_file.coverage.count).to eq(covered_lines_from_rcov_text.count)

       expected: 11
            got: 8

       (compared using ==)
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/metrics/rcov/simplecov_formatter_spec.rb:52:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
Gems weren't bundled under JRuby; Setting ENV like Rails does
Tests break with JRUBY set with --debug

And we only turned that on for Coverage which
1) Didn't fix https://github.com/metricfu/metric_fu/commit/87ffbac2162e0142fc4
2) We're not testing anymore for JRuby

https://travis-ci.org/metricfu/metric_fu/jobs/24305005

  1) MetricFu::ReekGenerator emit includes config file pattern into reek parameters when specified
     Failure/Error: reek.emit
     (anonymous error class):
       execution expired
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:35:in ``'
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:49:in ``'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:126:in `reek_version'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:118:in `turn_off_color'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:98:in `cli_options'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:16:in `emit'
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/metrics/reek/generator_spec.rb:17:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  2) MetricFu::ReekGenerator emit disables lines numbers from reek output
     Failure/Error: reek.emit
     (anonymous error class):
       execution expired
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:35:in ``'
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:49:in ``'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:126:in `reek_version'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:118:in `turn_off_color'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:98:in `cli_options'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:16:in `emit'
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/metrics/reek/generator_spec.rb:34:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  3) MetricFu::ReekGenerator emit includes files to analyze into reek parameters
     Failure/Error: reek.emit
     (anonymous error class):
       execution expired
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:35:in ``'
     # file:/home/travis/.rvm/rubies/jruby-1.7.11-d19/lib/jruby.jar!/jruby/kernel/jruby/process_manager.rb:49:in ``'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:126:in `reek_version'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:118:in `turn_off_color'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:98:in `cli_options'
     # /home/travis/build/metricfu/metric_fu/lib/metric_fu/metrics/reek/generator.rb:16:in `emit'
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/metrics/reek/generator_spec.rb:39:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  4) MetricFu given configured metrics, when run creates a data yaml file
     Failure/Error: expect { metric_fu }.to create_file("#{data_directory}/#{MetricFu.report_id}.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/_data/20140502.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:56:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  5) MetricFu given configured metrics, when run creates a report html file
     Failure/Error: expect { metric_fu }.to create_file("#{output_directory}/index.html")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/output/index.html" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:60:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  6) MetricFu given configured metrics, when run creates a report yaml file
     Failure/Error: expect { metric_fu }.to create_file("#{base_directory}/report.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/report.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:52:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  7) MetricFu given configured metrics, when run with command line specified out only outputs to the specified path
     Failure/Error: expect { metric_fu "--out customdir --no-open"}.to create_file("#{base_directory}/customdir/index.html")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/customdir/index.html" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:147:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  8) MetricFu given configured metrics, when run with configured and command line formatter outputs using command line formatter
     Failure/Error: expect { metric_fu "--format yaml"}.to create_file("#{base_directory}/report.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/report.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:104:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  9) MetricFu given configured metrics, when run with command line formatter outputs using command line formatter
     Failure/Error: expect { metric_fu "--format yaml"}.to create_file("#{base_directory}/report.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/report.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:86:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  10) MetricFu given configured metrics, when run with command line specified formatter + out outputs to the specified path
     Failure/Error: expect { metric_fu "--format yaml --out customreport.yml"}.to create_file("#{base_directory}/customreport.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/customreport.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:136:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  11) MetricFu given configured metrics, when run with configured formatter outputs using configured formatter
     Failure/Error: }.to create_file("#{base_directory}/report.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/report.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:70:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
  12) MetricFu given configured metrics, when run with configured specified out outputs using configured out
     Failure/Error: }.to create_file("#{base_directory}/customreport.yml")
       The file "/home/travis/build/metricfu/metric_fu/tmp/metric_fu/test/customreport.yml" was not created
     # /home/travis/build/metricfu/metric_fu/spec/metric_fu/run_spec.rb:120:in `(root)'
     # /home/travis/build/metricfu/metric_fu/spec/support/timeout.rb:6:in `(root)'
Merge pull request #226 from metricfu/fix_simplecov_rcov_calculation

[Feature/Fix] Fix simplecov rcov calculation