core: fix crash if requesting 'is_published_date' property from recently deleted resource.
mod_admin_frontend: also pass the tree_id to the tinymce init file.