Handle percentage margins.
A percentage margin (e.g. "50%") is used to specify a percentage of the parent style's margin.
Added tests to check handling of percentage margin values.
Merge pull request #726 from fancycode/margin_100percent

Handle `margin="100%"`.