tests for toPrecision()
mocha, jscs and jshint as gulp tasks
implement toPrecision
apply codestyle