Changed some things back to resolve some unit test failures
Replaced null reference exception for missing connection string (fixes #505)
Fixed problem using linq queries with xml repository (fixes #504)