Check for wc.db first

This enables support for newer svn repositories which don't have a
.svn/entries file anymore
Simplify svn_get_info()'s error handling
Add test for missing ".svn/entries"