Nullable relation

Add possibility to have a null object relation by setting a 'nullable' parameter in yml