Added dynamic URI detection.  Will also detect SSL and port if non-standard ports are used.
Revert "Added dynamic URI detection.  Will also detect SSL and port if non-standard ports are used."

This reverts commit d6ef7f613c3bee3e973307d429029116bf6ffd1b.
Merge remote-tracking branch 'upstream/master'
Added nginx rewrite rule for backwards compatibility of old .torrent links.
Merge branch 'fix-https-detection'
Fixed documentation page to display the JSON string that would be returned instead of printing the PHP code.  Updated code to use _config() instead of the removed globals.  Also made the JSON <pre> word wrap.
Revert "Added nginx rewrite rule for backwards compatibility of old .torrent links."

This reverts commit 22c66a2cb9f486fbb9f25321a84f5a24faadfe70.

This commit isn't in the upstream.
Merge pull request #8 from zorchenhimer/fix-docs-page

Fix docs page