mattdrayer/api-proforma-realistic: Apply average score to unscored categ...

...ories

@martynjames -- I've reworked the proforma grade logic to reflect the 'realistic' approach discussed today during our team meeting as well as in the wiki page -- take a look and let me know if you see anything out of sorts.