Remove SplPriorityQueue

Change $paths to array so that it can work well with Joomla 2.5.x (which
usually doesn't have PHP 5.3+)