Add support for custom QNetworkAccessManager subclasses

This provides a way to use a QNetworkAccessManager subclass with ghost. My usecase is tracking AJAX requests but it seems like its worth making this configurable rather than hardcoding request tracking stuff for the sake of supporting other needs.