facebook/twitter: fix redirects, page_url is now a binary.
core: show a stack trace when a periodic task crashes.