Added code to handle percentages and pass scores

This is dependent on two attributes in the articles.json
- _isPercentageBased
- _scoreToPass