iOS sample projects now archive correctly

Change-Id: I9f70d638d2f3d1e11a82f476ba893aff3b581899
Rewrite libspotify runloop handling

Change-Id: Ib347e33df40eb5819de2f022f95035f9e18eb1fe

Conflicts:
	common/SPSession.m
Add correct runtime search paths for Mac sample projects

Change-Id: Ieb53ce856431ff862c36e6077c46af56a07c77c6
Rewrite SPSession initialisation methods

Initialising SPSession using dispatch_sync causes problems with
libspotify's internal threading model, since dispatch_async will
often short-circuit to use the current thread. To be extra-safe,
we now use dispatch_async for initialising libspotify.

Change-Id: I5d2d0c6cff5f5dc4689ed39d5ddd697ac8f31ab1
Update docs

Change-Id: I14e5a0e9296a87c3b5ae55b2d709fb7b074649cd
Rewrite threading to only ever use a single thread

Change-Id: I70af872c549b5c6d18e5ec10b02df561a1c3784f
Performance increases in new thread model

Use a custom no-op CFRunLoopSource to keep the runloop running rather than an NSPort.
SPCoreAudioController: Allow non-whole audio deliveries

Change-Id: I08487006b51ea9df1e868f0790756db086a4653b
-[SPSession -trackForTrackStruct:] no longer crashes on a NULL struct

Change-Id: If502d5d1c2c56faeb008b83737b2f96849379951
Fix up SPCircularBuffer

Fixes three things:

- Adds -attemptAppendData:ofLength:chunkSize: to
make queueing audio easier.

- The length property no longer reports the wrong value.

- No longer breaks data integrity when completely filling
an empty buffer.

Change-Id: Ie4347b43800e597d6633cb14530c276c6e6f17c8
Fix iOS-only classes to use new threading methods

Change-Id: I5349bf482fa1da66e66b7f091b7d84962d57eecd
Add timeouts for all unit tests

Change-Id: I443b8a78f5c071ba4cb0eeb9f4d31a4e88b60fe6
Add logging for TeamCity

Change-Id: Ie03221d05268f33acb854248d09dc84e79fd7b22
Fix Framework Search Paths setting in CocoaLSTests.app

Change-Id: Ib0eb6e8479a1d81e46ec85608ceba1bbec21b59b
Fix typo in TeamCity logging

Change-Id: Icc733951bf2cd554c50078386251644d34582b68
Unit Tests now take an appkey from NSUserDefaults

Change-Id: Ieb4a99e73a288ff7994307ae03253230d4c7ac7a
Mac OS tests no longer create GUI

Change-Id: I1966f47997a814845ca03825d737b5c9fc483542
Fix TeamCity logging when tests fail

Change-Id: I4e8ac382db1cf4b63c383ec26c38697f4c3ffcd3
Declare sp_session_callbacks in a safe way

Change-Id: I3b26632f748a3ebbbb19357a46f8fb2ce32656ca
Move scripts, add script to update libspotify version

Change-Id: I55ded6bfd48fd826207afdf556694b13562b8ef3