Added canvas check logic to decorator.
Added FANDJANGO_SITE_URL setting for non-canvas sites.