Added theme support for sticky discussions.

I also created a new function that allows you to use resources from a
theme.