Fixes old reference to anchor in resourcemodule.py

Also fixes render_to_response call.
Merge pull request #931 from learning-unlimited/gurtej-fix-anchor-ref

Fixes old reference to anchor in resourcemodule.py