Small rename of variables that was causing confusion.
Checks and updates the registry stats held in cache if a new registry stats file has been generated
Added some comments around checking the freshness of the stats object.
Merge branch 'biocat-master' into biovel-master