Plugin loader implementation.

+ #include places refactoring
+ global plugin paths generated by cmake scripts