Further improved detection of gst libs

+ added documentation
+ added Debug messages