Revert "Added allowed empty elements function"

This reverts commit a34ae3b2512fa645b770eaea872cef3c4d7c3625.

Conflicts:
	src/element.js