Make node_moved signal work with changing parent

Model.move_to shouldn't be used so make sure the signal is sent when
the parent has been changed as well.

Added mock-django to be able to test that the signals were being sent.