Don't add xbmc.a to DIRECTORY_ARCHIVES

It gets added to MAINOBJS anyways, and adding it to DIRECTORY_ARCHIVES
would mean that it also gets added to the tests, which would result
in a double-definition of main () (one from xbmc and one from gtest).

Instead, add it to xbmc.bin directly, as Darwin based platforms require
such static linking.
Fix failing test TestFileOperationJob.ActionCreateFolder

CFileOperationJob::SetFileOperation expects the destination directory
in which the file operation is to take place when creating a folder
and not the final path of the created folder (that is contained
in the CFileItem passed to it)
ActionDeleteFolder also expects the parent directory as the destination
Fix failing test TestFileItem.GetLocalArt

Ensure that CAdvancedSettings is cleared entirely before the test
runs as we should not preserve state between tests.
Make the iterative tests use Google Tests's parameterized test code.

This enables each individual piece of data to have an independent
identifier in the testing system.
More accurate seeking with libdvdnav
http://trac.xbmc.org/ticket/12212 applied to current codebase
full credit should go to gnosygnu, see
http://forum.videolan.org/viewtopic.php?f=32&t=76308&start=20#p316583
Add diff in lib/libdvd/patches for tracking against upstream
Update to rev. 7 from upstream
http://lists.mplayerhq.hu/pipermail/dvdnav-discuss/2012-December/001837.html
AESinkAlsa: Make sure to reinit but return false if format might be changing
[libdvdnav] re-enable reading DVD serial string
[libdvdnav] fix redundant close
[libdvd] add patch for reenable serial string
Expose get_title_string and get_serial_string through DVDInputStreamNavigator
Calculate DVD unique ID using libdvd's volume label and serial string
cleanup unused HashDVD code
remove wunderground addon
guilib: CGUIBaseContainer::OnAction - waiting on scroll condition to be satisfied consumes the action, hence return true
fix broken channel switching by numbers after: 8768ec8a7260b7dd46c28e601a398d493808edeb
[DllAvUtil] Plumb in missing av_samples_fill_arrays and av_samples_copy
[rbp/omxplayer] Stop using AVCODEC_MAX_AUDIO_FRAME_SIZE

This constant has been deprecated and is now gone in FFmpeg 2.0.

See #3006

Also made use of av_samples_fill_arrays and av_samples_copy
and have simplified the code.