Fix HTTP assumptions in the installer

The installer assumes that the CWD of the running PHP process is setup/,
which isn't necessarily true (if run from a cli module, for instance).
Merge pull request #581 from greezybacon/issue/installer-assumptions

Fix HTTP assumptions in the installer

Reviewed-By: Jared Hancock <jared@osticket.com>