feature(core): support for querying based on relationship create time

fixes #2343 

added docs and unit tests

replaces #7514
Less is more :). I'll trust you to get heading level and colons correct...