Some checks for file_get_contents

Check if allow_url_fopen is enabled, and display in preferences.
If response returns NULL, file_get_contents is no available.
Try to catch some errors from get_file_contents()