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.
Merge pull request #2885 from smspillaz/fix-tests-16062013

Fix "make check"