Changed how the fk deleter worked so that it will wait until all fk entities have been cleaned before continuing. Added more promise helper methods. Added addtional tests to check for fk removal.