Added allowed empty elements function
Merge pull request #7 from guardian/al-hg-empty-elements

Added allowed empty elements function