Split UI into separate files and refactor naming

This PR implements the plan in #82. The first commit does nothing more than split cusf_tawhiri_ui.js into separate files as outlined in that issue. It also fixes some jshint warnings.

The following commits rename classes Prediction and Path to PredictionCollection and Prediction respectively.

The final commit re-factors the Request class into a single function.

Closes #82.