categorize_package now returns score and reasons

There are a few extensions which use this action which will need updating when/if this gets merged.

What do you think @rossjones ?