LIB-312 Analyzer warnings fix

- fixed autorelease issue in UAInboxURLCache, existing intentional +1 retain count to compensate for cache bug is no longer necessary
- added extra release to UAInboxMessage, fixed memory leak
- fixed memory leak in UAInboxOverlayController
- turned off analyzer warning for non leaking, non standard
method in  UAInboxOverlayController
- fixed memory leak in UAInboxOverlayController
LIB-312 iOS 4.1 macro for cache fix

- added new macro to UAGlobal to support autorelease fix in UAInboxURLCache
- updated UAInboxURLCache to not autorelease before iOS 4.1  since the NSURLCache bug fix cannot be traced to a specific Foundation release
LIB-312 Update

- removed __block from UIView fauxView since it's not mutated in the block
LIB-270 UAAnalyticsDBManager thread safety

- wrapped db methods in dispatch_sync calls on a serial queue for thread safety
- took protective call out of UALocationService
- added tests that sent analytics events on multiple threads and inspected database for null values
LIB-270 Queue changes

- setup block dispatching so reads occur synchronously and writes are asynchronous
LIB-270 Update

- fixed issue in UAAnaltyicsDBManager where beginTransaction was being called out of order
LIB-312 updates

- added static pointer to keep a reference to the UAInboxOverlyController instead of disabling the static analyzer.
LIB-312 UIInboxOverlayController crash

- fixed leak and crash associated with the misuse of static class variables in UAInboxOverlayController
LIB-425 Location timeout waiting for permission

- moved the call that schedules the single location service shutdown to the delegate callback, making sure the timer doesn't start until the locations actually start coming in.
LIB-425 Update

- added bool to prevent scheduling multiple shutdown calls when the single location service is used.
- small documentation changes to match UA style guidelines and to fix typos.
- added tests for new flag
LIB-425 Updates

- uncommented code in UALocationServicesApplicationTest
LIB-312 Analyzer warnings fix

- fixed autorelease issue in UAInboxURLCache, existing intentional +1 retain count to compensate for cache bug is no longer necessary
- added extra release to UAInboxMessage, fixed memory leak
- fixed memory leak in UAInboxOverlayController
- turned off analyzer warning for non leaking, non standard
method in  UAInboxOverlayController
- fixed memory leak in UAInboxOverlayController
LIB-312 iOS 4.1 macro for cache fix

- added new macro to UAGlobal to support autorelease fix in UAInboxURLCache
- updated UAInboxURLCache to not autorelease before iOS 4.1  since the NSURLCache bug fix cannot be traced to a specific Foundation release
LIB-312 Update

- removed __block from UIView fauxView since it's not mutated in the block
LIB-312 updates

- added static pointer to keep a reference to the UAInboxOverlyController instead of disabling the static analyzer.
LIB-312 UIInboxOverlayController crash

- fixed leak and crash associated with the misuse of static class variables in UAInboxOverlayController
LIB-312 Update

- removed comment from UAInboxOverlayController related to issue. No functionality change.
LIB-425 Update

- refactored task cancellation for single location to be more specific to prevent future issues
Merge remote-tracking branch 'origin/LIB-437_libUAirship-1.3.4' into LIB-437_libUAirship-1.3.4
Merge branch 'LIB-425_Location_Permission_Timeout' into LIB-437_libUAirship-1.3.4