Add unit tests for wagtailcore/whitelist.py
Merge pull request #314 from mope/whitelist-tests

Add unit tests for wagtailcore/whitelist.py