Update Device.pm

Added 'commit_configuration' => { 'check'=>$TOGGLE,} method in Device.pm