use owner's width for resolving the margin and padding for node
use owner's width for resolving the margin and padding for node

Summary:
The margin and padding are resolved incorrectly for leaf nodes (nodes with measure function set) if margin and padding are used in percentages.
Here we were using node's width instead of container width to calculate the margin and padding.

Fixed this to use container's width.

## Changelog:

[General][Yoga] : Fixed an issue where margin and padding were resolved incorrectly for leaf nodes (nodes with measure function set) if margin and padding are used in percentages.

Reviewed By: alickbass

Differential Revision: D17130520

fbshipit-source-id: ac904d432f121973e7739debd9136909b5ca1427

myntra/react-native,hoangpham95/react-native,hammerandchisel/react-native,exponent/react-native,javache/react-native,exponent/react-native,hammerandchisel/react-native,myntra/react-native,janicduplessis/react-native,exponent/react-native,pandiaraj44/react-native,arthuralee/react-native,exponent/react-native,exponentjs/react-native,javache/react-native,exponent/react-native,javache/react-native,javache/react-native,javache/react-native,hammerandchisel/react-native,janicduplessis/react-native,arthuralee/react-native,javache/react-native,arthuralee/react-native,facebook/react-native,hoangpham95/react-native,hammerandchisel/react-native,janicduplessis/react-native,javache/react-native,exponentjs/react-native,hammerandchisel/react-native,janicduplessis/react-native,myntra/react-native,pandiaraj44/react-native,myntra/react-native,myntra/react-native,pandiaraj44/react-native,hammerandchisel/react-native,hammerandchisel/react-native,myntra/react-native,pandiaraj44/react-native,janicduplessis/react-native,exponentjs/react-native,facebook/react-native,myntra/react-native,facebook/react-native,pandiaraj44/react-native,pandiaraj44/react-native,facebook/react-native,janicduplessis/react-native,hammerandchisel/react-native,janicduplessis/react-native,exponent/react-native,hoangpham95/react-native,pandiaraj44/react-native,janicduplessis/react-native,myntra/react-native,exponentjs/react-native,hoangpham95/react-native,facebook/react-native,exponentjs/react-native,facebook/react-native,arthuralee/react-native,exponent/react-native,myntra/react-native,exponentjs/react-native,arthuralee/react-native,exponentjs/react-native,hoangpham95/react-native,hoangpham95/react-native,javache/react-native,facebook/react-native,exponent/react-native,javache/react-native,hoangpham95/react-native,hoangpham95/react-native,exponentjs/react-native,facebook/react-native,pandiaraj44/react-native,facebook/react-native