Support for null intermediate beans in NestedMethodProperty (#11435)

Allows intermediate beans to return null in the NestedMethodProperty.
The feature is not enabled by default and thus should be fully backwards
compatible. 

Change-Id: I438d0f787c5c76f61ab234f3c92dd927a8354a37