Initial work on fixing PHP Strict Standards warnings

This mainly corrects using static function and bad inheritance in method
signatures of NamespacedElements
Why abstract?