CCPackageManager's baseURL must be set in order to use the convenience download methods.
Otherwise an error is returned thru the delegate method downloadFailed and nil is returned instead of a package.
Bugfix: Returning nil in the delegate method customFolderName:packageContents: resulted in an assert exception.
Unit tests added for download convenience methods and savePackages.
Merge pull request #1008 from danhd123/develop

Nicky's Pull Request plus android fixes.
Merge branch 'develop' into feature/Packages_MoreUnitTests
Unzip test added to unarchive a non zip file.
Unit tests added for more downloading and setting the installPath.
Bugfix: setting install path would not change in certain situations.
Simplified download package method of CCPackageManager, doesn't return success anymore. Adjusted documentation header.
CCPackageCocos2dEnabler using CCPackage private header.
Delete package tests added.
Private header for package manager added to access internal array for tests.
New error added: Unzipping packages cannot be deleted.
Disable and enable package unit tests added.
Disable and enable package will add package to management if not managed yet.
Updated documentation headers.
CCPackageTest: NSURLProtocol removed and turned download into a real http request.
CCPackageManager delete package tests finished.
Fixture class added to create setups with ease for packages tests.
Bugfix for delete package, not completely tidying up the disk.
New status for packages added: CCPackageStatusDeleted, which will be set after a successful deletion.
Bugfix for CCPackage and persistency.
There was a wrong key used to determine enabledOnDownload.
InstallURL property was mandatory causing some issues.
EnabledOnDownload is mandatory now, InstallURL is not.
CCPackageDownload cancelling will reset status to initial.
Documentation headers updated.
Packages stored in userdefaults removed on startup of test app.
Removed some commented code about installData in CCPackageInstaller.
Bugfix for CCPackageDownloadManager and resuming downloads.
In case of resuming a download of package that was not stored initially in the download manager by enqueuing a resume would fail.
This was the case when an app loads persisted packages with the status CCPackageStatusDownloadPaused.
The download object is created and added to the manager if there is none.
CCPackageManager unit tests added for loadPackages.
Cancelling the download of a package won't remove it from management any more.
Some renaming of fixture class since it also contains some arbitrary helpers.
Added another test package for future CCSpriteFrameCacheTests.
CCSpriteFrameCache test added.
Bugfix for CCPackageInstallerTests: Test removed bundle assets.
Fixed CCSpriteFrameCacheTests.
Some weirdnesses with the copy bundle phase.
CCFileUtilTests: Added tests for loading filenameLookups.