Fix several subversion bugs, including perl binding modules linking
Merge pull request #781 from pyhalov/subversion

Fix several subversion bugs, including perl binding modules linking