Added checking that Inputfields are installed before importing content. Also attempt at better recursive page deletion for REPLACE option, but still needs work.