Revert "[musicdb] more curl fixes"

This reverts commit 4995c010b67ec20a7f46d0bc08eee5703763bcdb.
Revert "[musicdb] fix the curlfile crash on exit properly this time"

This reverts commit b63bcc3d4dae8ed5404f71bdb2abbc485526eb45.
Revert "[musicdb] fix: avoid crash on exit in curl rate-limiter due to iterator invalidation"

This reverts commit 02f76a216a68f552777caa80b2bd6b0f08de31df.
Revert "[musicdb] implement a per host rate-limiter to avoid hitting the musicbrainz rate-limit and be more friendly to our peers."

This reverts commit 241a4fc0babb108f652b993b2b40a20397433118.
fix ping timeout option for darwin
Merge pull request #2726 from ulion/revert_curl_ratelimit

Revert curl ratelimit
removes usage of byte from iso9660 code
removes usage of byte from RarFile
remove define of byte in PlatformDefs.h
remove undef of byte workarounds now that we don't define it in PlatformDefs.h
Environment: Implement "CEnvironment" class with functions for environment manipulation and add it files to project and to Makefile.in
Environment: Use CEnvironment for win32 in Application.cpp
Merge pull request #1272 from Karlson2k/xbmc_setenv_clean

Implementation of platform-independ environment manipulations
Update special://profile before attempting to load the profile's guisettings.xml file.
When ProfilesManager::m_currentProfile is changed the special://profile path must be updated as well.
Added SetCurrentProfileId() function for manipulating m_currentProfile. Replaced all occurances of direct manipulation by using this function. This makes sure that the special://profile path is updated as well when updating the current profile id.
Since SetCurrentProfileId() is called in ProfilesManager::Load(), the special://profile path is now automatically set which made it obsolete in CApplication::Create().
Remove setting of special://profile path from OnSettingsLoading(); special://profile path is already set to the correct path when the settings are being loaded.
Revert "[rbp] fixed compile on raspberrypi" - no longer required now that #define byte is gone.

This reverts commit 2da5c6520ab0abd90345b8cd140d37635800d607.
Merge pull request #2715 from leechguy/settings_refactor_profile_fix

[Fix] Load correct guisettings.xml file when switching profile
fixed, sometimes an ferror was returned when using fread, switch to fgets like most other usage of popen
Merge pull request #2732 from t4-ravenbird/darwin-ping

[fix] ping timeout option for darwin