Improve error detection & handling when invoking SVN
Created by: bright-tools
As discussed on #241 (closed), try and be a bit more robust when executing the SVN command.
@dregad, I tried to keep my implementation close to the work that you did in the hope it would ease the review process. Please take a look & let me know if you want any changes prior to merge. I've done some basic testing.