Order the locking of nodes when creating a relationship.
Merge pull request #3369 from jakewins/2.1-rellockorder

Order the locking of nodes when creating a relationship.