hotfix/2014-11-20

if import restores a deleted draft element which was never published
PLAT_297

@adampalay here's the hotfix
@rlucioni heads up. 
@doctoryes I guess review this one.
Those were added as a completely unrelated commit by @adampalay (see comment below)