The new version of our config enabled function-paren-newline rule,
this commit fixes the codebase to use more consistent handling
of newlines when calling functions.
- 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