create node settlement extension

This extension can be used to decide where to attach a newly created
node.
can you add phpdoc here? 
and could we give the strategy a way to tell it does not apply? so that we would skip this operation instead of failing (i think the dm will be unhappy with path `null` or `""`. like return early without doing anything if $path is false?