[COM_COURSES] make timeDiff() and toOrdinal() static
[COM_FEATURES] make FeaturesHtml methods static
[COM_RESOURCES] check variable before trying to traverse it as an array
[LIB_HUBZERO] define some methods as static
[LIB_SIMPLEPIE] define various methods as static
[PLG_GROUPS_USAGE] make several methods static