Revert "[libdvd] - added missing patches"

This reverts commit 217532dfa495abd883d98b068394fe2452362274.
[libdvdread] Fix Playback of VIDEO_TS folders broken on SMB and NFS - thx @kraqh3d
[libdvd] update patch for libdvdread
fix ping timeout option for darwin
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
fixed, add avformat_network_init/avformat_network_deinit
Merge pull request #2732 from t4-ravenbird/darwin-ping

[fix] ping timeout option for darwin
fixed, move load before we try to access and make sure we are loaded before accessing functions