Allow plugins to load before DOMContentLoaded gets called.
Make loading remote sound cacheable.

Load remote sound files via NSURLConnection's
sendSynchronousRequest:returningResponse:error:
class method so that they get cached by
NSURLCache.
Make connection plugin work with iOS <4.0.

UIApplicationDidEnterBackgroundNotification and
UIApplicationWillEnterForegroundNotification are
only available for iOS 4.0 and higher. This change
tests to see if the notification name symbols are
defined before subscribing to them.
Merge remote branch 'refs/remotes/buddydvd-callback/master' into load-sound-with-NSURLConnection

Conflicts:
	PhoneGapLib/Classes/Sound.m
Set ONLY_ACTIVE_ARCH = NO to fix compilation issue.
Merge remote branch 'refs/remotes/buddydvd-callback/master' into allow-load-before-dom-ready
Merge branch 'refs/heads/load-sound-with-NSURLConnection' into development
Merge branch 'refs/heads/ONLY_ACTIVE_ARCH-fix' into development
Merge branch 'refs/heads/allow-load-before-dom-ready' into development
When playing audio from remote URL, stop as soon as download fails.
Merge branch 'refs/heads/load-sound-with-NSURLConnection' into development
Fix missing splash page for iPad on iOS 3.2 or lower.

Because iOS 3.2 or lower doesn't understand the device modifier suffix, there's no reason for this logic to exist.
Revert to make compilation work for iPhone simulator via XCode 4.0.
Setup for fallback for splash screen.

If in landscape mode and *-Landscape.png is missing,
fallback to *-Portrait.png, and if *-Portrait.png
is missing, fallback to launch image.

If in portrait mode and *-Portrait.png is missing,
fallback to launch image.
Avoid clearing sound cache on memory warning.
Fixed callback/callback-ios#21 Phonegap 1.2 app crashes on resume from push notification
Fixed callback/callback-ios#23 - on app resume, it always throws either an offline/online event even though the online state never changed
fixes CB-143 removing address from iOS contact causes crash

Problem was in setMultiValueDictionary: The address multi value was being removed from within the for loop that updates the individual fields rather than after the for loop completed.  Also fixed a problem with address type - this was being incorrectly changed to "other" when the input value was an empty string with the end result that the address was not removed when it should have been.
fixes CB-153 - Camera default destination should be FILE_URI
Remove use of UIDevice.uniqueIdentifier. We are not using the uuid, so just add a place holder value. The phonegap.js needs a value for uuid to know that the script is ready.