add "unit" option to Metric

closes #76
remove ternary operator
Merge pull request #81 from afeld/add/metric-units

add "unit" option to Metric
Merge branch 'master' into add/configuration

Conflicts:
	lib/tricle/metric.rb