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.