Upgraded DotNetRDF and other libraries and improved unit tests.