fixes for online controller toc/current function

this is also needed for the offline issue generator.  these changes also require core changes to library/Newscoop/Http/ClientFactory.php