Add script to automatically apply patches and copy static files, by
reading the destination from static/.destinations.
Fix directories: patch got saved in the working directory.