Core-347: add "consumption" behavior to ElectricDevice
 - modified model and core to support the new behavior.
 - adapted Base-Objects and RestAPI plugins