Remove some unused imports.
Add D3 timeline view of student answer attempts.

Clicking timeline points fills in problem preview with student's
answers. Need to re-render preview based on student's seed, but this view
is still mostly proof of concept anyway.

Made services return promises rather than apply a function to the
returned data, this is cleaner.

Also refactored some stuff into directives.