Update build.xml to use svn

Updated build.xml to avoid remote calls when svn repo can be used and to throw a error if svn is not installed.