Moved all HTTP calls to happen over SSL
Moved giraffegraph.com to amplitude.com
Import UIKit, as can't assume UIKit is automatically imported in pch. Closes #1
Removed	hostname not found error from NSLogs (happens when phone is asleep)
Added commented out GCD calls for longer running methods
Removed request timed out error from NSLogs
Removed dispatch async calls- they don't work if you call certain asynchronous methods from them
Added background uploading on app exit with background task
Renamed NSOperationQueues
Wrapped all public methods to run on the background with NSOperationQueue
Fixed memory leak issues
Moved uploadEvents updatingCurrently check to happen before a block is added to the NSOperationQueue
No maxConcurrentOperationCount on background queue so blocking happens less often
Changed saveEventsData to occur on app close and after upload instead of with each call to uploadEvents
Removed other NSOperationQueues
Removed NSLog upload indicators
Automatic spacing and indentation applied
Moved method locations
Removed backgroundQueueWeak static variable
Removed old NSLog on failure to upload
Changed saveEventsData to only happen on app close and after data uploaded
Created enterForeground and enterBackground methods, removed other observers
enterForeground is now called in initializeWithApiKey
sessionStart and sessionEnd now tied to enterForeground and enterBackground
Added initializerQueue to guarantee all initialize code is run asynchronously before other code
Moved all performSelector:afterDelay: code to main thread to ensure it runs on a thread that's not killed
Added checksum and apiVersion to post request
Added printEventsCount method to get the current number of events saved
Delete events from the start of the list once list becomes longer than 1000 in chunks of 50
Save to permanent storage every 20 events
Limit upload to 100 events except on close and after a successful upload
Reupload if more events exist on a successful upload
Removed NSLog messages
Force all operations to happen FIFO on background NSOperationQueue
Timestamping, apiKey set immediately on main thread
All calls to uploadEvents to happen on background thread
Start/end session calls to happen on main thread to ensure proper ordering of added events
Delete old events every 20 beyond 1000 events