Now setEnergy() and energy() manage is camserver has the cmd setnenrgy,
otherwise  an emulated energy setting is made using gain and threshold.
This was moved from the Pilatus.py tango server plugin to here.
update pilatus from esrf-bliss