add Edit Resource test to verify dangling objects are correctly handled.
move getArtifactAsString() to AbstractResourceImplTest.java
delete more moved methods
fix testEditArtifactBasicRdf()