Update installer.php

Replaced the http_get_file function that uses cURL with a new function, get_latest_version, which instead uses file_get_contents. Also changed URI's from http to https. Added minor error reporting when failure occurs getting latest version.