Refactored figure.border.div handling.
Merge pull request #132 from oreillymedia/figs

Refactored figure.border.div handling