Added info button to Shelf navigation bar. This displays an HTML popover (iPad) or pushes a new view (iPhone) for custom app info.
Made Info button dependent on existence of file

The button will only be displayed if an info.html file can be found.
Moved info.html to an info/ folder
Moved declaration to header for consistency
Merge branch 'master' into sdarlington-async-networking
Info box updated (new html & folder by reference)
Better logs for products and transactions
Fix: subscription button for auto-renewables

When auto-renewable subscriptions were specified in AUTO_RENEWABLE_SUBSCRIPTION_PRODUCT_IDS but with no free subscription in FREE_SUBSCRIPTION_PRODUCT_ID, the 'Subscribe' button was not being displayed.

Fixes #1041.
Fixed race condition: UI vs. purchased async call

A race condition was introduced in 1d7f03e3: async call to the API `purchased` endpoint was completing *after* UI was refreshed, resulting in buttons not being updated (e.g. from "BUY" to "PURCHASED").

Fixes #1044
Added 'environment' parameter to API calls

Baker will set the parameter as follows:
- 'debug' when the DEBUG preprocessor directive is set to 1
- 'production' otherwise

Closes #1017, closes #1005.
Added else condition to have the callback passed to the "retrievePurchasesFor:productIDs withCallback:callback" method called every time. In the else branch nil is passed as the callback param, since we can't have the purchases dictionary
Callback check: if there's no callback don't call it
Added issue check in the notification handler: if an issue is already being downloaded or if the user is not entitled to download that specific issue the download doesn't start
Fix: refresh shelf after retrieving purchases

Due to async calls, shelf was being refreshed before data from PURCHASES_URL was retrieved, resulting in inconsistent UI (e.g. some issues might still have been marked as purchasable even though they were in fact purchased).

Fixes #1062.
Since opening a hpub could take some time and the unzip operation should work when the app is in background initialized a background task before starting to unzip the archive
Since we are working with archives updated the SSZipArchive lib to the latest version (0.2.5)
Fixed Info button crash when touched in Standalone mode.

Closes #1069
Analytic/tracking events class has been externalized.

Now you should be able to customize just the BakerAnalyticsEvents.m file to manage remote analytics.

Currently supports the following events:
. BakerApplicationStart
. BakerIssueDownload
. BakerIssueOpen
. BakerIssueClose
. BakerIssuePurchase
. BakerIssueArchive
. BakerSubscriptionPurchase
. BakerViewPage
. BakerViewIndexOpen
. BakerViewModalBrowser

Tested on Google Analytics.
Fix: Javascript error when there's no meta named 'paged'
Merge pull request #1098 from benoitchantre/Issue-1095

Fix: Javascript error when there's no meta named 'paged'