Fix adjacency handler for adding relationships with Direction.IN

Currently the relationships get set with Direction.OUT regardless of
what's specified on the annotation. A test for adding relationships
with an inward direction has also been added.