Deactivate dataset if delete flag is raised

Instead of setting the dataset state to 'delete' it is set to
'deactivated'. This way it does not appear in the search result
but can also be differentiated from actually deleted datasets.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>