modules: add EnergyGate
pipeline: use EnergyGate, compute its mean in statistics
plugin: add testing output for "energy gate" feature