Added priority enqueuing to the plugins.
The plugins can have a priority between 0 (lowest) and 255 (highest). In this order they will be searched afterwards, without loosing the underlaying vector. Used std::make_heap and std::push_heap to achieve this.
Authored by: heiko 2012-12-31
Parent: [r240]
Child: [r242]