fcm mkpatch: svn 1.8 fixes + bug fixes

Changes required for use with svn 1.8:
* Fix determination of svn URL from working copies
* Fix how symbolic links which are changed to become normal files are handled

Other bug fixes:
* Fix detection of binary files
* Don't copy files if the source is in a copied or replaced path
* Support file names with spaces
* Avoid failure if "en_GB" locale not installed but "en_GB.*" is (true on Ubuntu 12.04)
* Prevent perl warnings if no subdir of a copied path is found