Refactor to a ThreeWords object

This commit changes threewords.js to use a function prototype
with a calculate method.
Add Jasmine specs

Add tests using Jasmine to verify that ThreeWords works as expected.
Merge pull request #5 from alexmuller/add-specs-refactor

Refactor and add tests