Change event listener name to more obvious handler
Cache questionComponents

This avoids multiple uses of the quite expensive
getQuestionComponents method.
Cache model's assessment attribute

Mostly for convenience, but this way we don't have lots of
get requests to the model, just the one.
Add randomisation functionality

Reads from _randomisation object in article's json
Respond to pre, not post, render

Otherwise you are shuffling blocks around too late. Nothing
already in the code requires dom elements so change shouldn't
affect existing behaviour.
Add randomisation example
Associated learning basic functionality

If a question is answered incorrectly and it contains references to
another part of the course, the title for this can be displayed in the
results. A results component will follow.

Makes use of a new method added to
https://github.com/cgkineo/adapt_framework/tree/feature/associatedLearning
to find a model by its ID.
Updated assessment quiz article to reflect changes to the mediator

Fixes #11
Updated karma version
Merge pull request #12 from adaptlearning/issue/#11

Issue/#11
Merged feature/associatedLearning

Also fixed an issue when looking to see if the associated learning tied
to a component has already been added. Previously this was looking at
the model rather than the title which is added.
Pass feedback data on assessment:complete

Removed the use of the tutor for the results to make use of a results
component.
Merge branch 'feature/randomisation' into feature/randomisation-port
Fix feedback
Removed hardcoded attribute values

_isEnabledOnRevisit and _canShowFeedback are no longer hardcoded for the
assessment and can be set in the JSON as required.
Refactor assessment code
Merge branch 'feature/results' of https://github.com/cgkineo/adapt-contrib-assessment into develop-merge
Add merged files
Working versing of question blocks randomisation and question banks
Passed attributes needed for associated learning