Add flag to retreive deleted paranoid models in queries

Implementation as suggested in #1862