Fixing spaces on HttpClient.php
Merge remote-tracking branch 'upstream/develop' into 923
Updated Json_Controller::layer
Updated Json_Controller::layer
Updated "map_Core::geocode"

*TERRIBLE* error handling in this function though. Won't deal with it
here.
Fixing "Geocoder_core::geocode_feed"

Also not great error handling in this function.
Updating "Upgrade::_fetch_core_release()"

Added a bit of error management as well.
Updating comment on Upgrade file
Updating map.php file to use HttpClient

Unfortunately, the function seems to only be used by a piece of code that
can't be reached. Hacked my way to test it.
Shuffling http_response_code() function

We're grabbing the response code after we close the handler, which is
quite useless.
Updating adming setting files

Using HttpClient library to check for clean urls functionality.
Updating _curl_req() function

Using HttpClient now.
Deleting curl_init check
Adding error handling

Forgot to add error handling two files. Done it now.
Updating Stats_model reference to self
Cant find where _curl_req() is used on admin/stats

Deleting function, which is dangerous, but a necessary evil.
Updating Sharing plugin curl call
Updating VideoEmbend::thumbnail()

Using HttpClient to retrieve thumbnail now
Updating stats file
Merge branch '923-fixes' of https://github.com/ditorelo/Ushahidi_Web into 923-fixes