Allow switch for headless mode on any course page #2411

Once logged in you can now specify ?headless=1 to any page to go
into headless mode. To turn it off simply specify ?headless=0 to
any page.
Merge pull request #2497 from Stanford-Online/kluo-2411-headless

Allow switch for headless mode on any course page #2411