[Finishes #51] and added formatted code

- Enhancement: npm run format now formats gulpfile.js and all js files in ./test.
- Bug Fix: Ratio.gcd() now returns the correct value for when one input is 0.