Revert "Address a couple of Petr's issues"

This reverts commit 16fd14711afb24b0312f94278a5fae06b66c88e4.
merging latest changes
Plugin check tidy-up
Merge branch 'plugin_check' into moodle_all_dev
Make updates box blue when uptodate