Quoting paths when sending them to open command
Update HISTORY.md
Merge pull request #220 from nickveys/quote-open-path

[Fix] Quoting paths when sending them to open command
Correct calls to MetricFu.logger.mf_debug to MetricFu.logger.debug

Fixes https://travis-ci.org/metricfu/metric_fu/jobs/23891204

NoMethodError: private method `mf_debug' called for <MetricFu::Logger:0x1665e34c>
Check if metric is activated; was bypassing ripper check
Move Template into templates directory
Rename all metric template files report.html.erb
Centralize templates, rename and namespace AwesomeTemplate

AwesomeTemplate -> MetricFu::Templates::MetricsTemplate
Document render_partial method
Consolidate graphing code
Put generators in lib
Add general MetricFu::Errors error base class
MetricFu should know its URL, not a template
Rename metrics/[metric]/init.rb to metrics/[metric]/metric.rb

Improve naming of metric config file from 'init' to 'metric', as they
all subclass 'metric'.

find . -name 'init.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; `git mv #{line} #{line.split("/")[0..-2].join("/")}/metric.rb` }'
Rename metrics/[metric]/[metric]_grapher to metrics/[metric]/grapher

find . -name '*_grapher.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; `git mv #{line} #{line.split("/")[0..-2].join("/")}/grapher.rb` }'
find . -name '*_grapher_spec.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; `git mv #{line} #{line.split("/")[0..-2].join("/")}/grapher_spec.rb` }'
Rename metrics/[metric]/[metric] to metrics/[metric]/generator

cd lib/metric_fu/metrics
find . -name '*.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; home, metric, filename = line.split("/");  `git mv #{line} ./#{metric}/generator.rb` if "#{metric}.rb" == filename}'
cd -
cd spec/metric_fu/metrics
 find . -name '*_spec.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; home, metric, filename = line.split("/");  `git mv #{line} ./#{metric}/generator_spec.rb` if "#{metric}_spec.rb" == filename}'
cd -
Rename metrics/[metric]/[metric]_hotspot metrics/[metric]/hotspot

find . -name '*_hotspot.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; `git mv #{line} #{line.split("/")[0..-2].join("/")}/hotspot.rb` }'
find . -name '*_hotspot_spec.rb' | ruby -e 'STDIN.readlines.each {|line| line = line.strip; `git mv #{line} #{line.split("/")[0..-2].join("/")}/hotspot_spec.rb` }'