- drop custom findOrCreate implementation - memory connector provides
an atomic implementation out of the box now
- add new methods `replaceOrCreate` and `replaceByID`
- fix error reporting to include the stack trace in the console output
[back-port of pull request #847]