svnperms.py: fix bug, alter message override, and add tests

This adds some tests for the embedded (and modified) `svnperms.py` file.

The change fixes the `Config.get` method and alters the message configuration
precedence order, so that a specific repository message overrides a generic one.

@matthewrmshin, please review.