Code/doc cleanups;

- Reuse Placeholder.objects.parent()
- Add documentation about return types
- Cache _ALLOWED_ROLES
Allow passing `SharedContent` object to `sharedcontent` template tag.