Comment out console.log calls
Add integration with trajectory.js

The AnimationDirector object is now capable of chewing the inputed data
with the help of some utility functions found in trajectory.js.

A couple other changes took place in this changeset:
    - Correct syntax errors for method declarations
    - Change documentation/comments to be more javascript compliant
    - Add some error checking to the constructor