Added remote pre and post commands.

You can now run a command before and after the rsync command.
You can use this to e.g `make clean` and `make install`.