Restrict children for a node, using plugins.

Based on https://github.com/edoburu/django-polymorphic-tree/pull/29

Fixes #31