Add some debugging code to testParseRDFStatements
Generalise and cleanup debugging code
fix test numbers
Add SPARQL Data Reference implementations
Remove use of hasPURL to transmit changes to temp URIs to client

Also remove hasPURL from publications, if people want this functionality
it is better to specify a specific scheme for doi or handle, or use
hasURL
Fix types for SPARQL Data references
Fix some test numbers
fix tests that relied on hasPURL existing
Use repository aliases to track the endpoint details
fix test numbers
Update number in search ontology resource test
Refactor file reference tests so that they are not centered around
filenames
Merge remote-tracking branch 'origin/master'