Namespacing KSReachablityOperation.
Not installing the deadlock detector if deadlockWatchdogInterval = 0 as the documentation states
Merge branch 'master' of github.com:mindsnacks/KSCrash
Merge branch 'master' of git://github.com/kstenerud/KSCrash
Merge branch 'master' of git://github.com/kstenerud/KSCrash

Conflicts:
	KSCrash/KSCrash/KSCrashReportSinkQuincyHockey.m
	KSCrash/KSCrash/KSCrashReportSinkStandard.m
	KSCrash/KSCrash/KSReachabilityKSCrash.h
	KSCrash/KSCrash/KSReachabilityKSCrash.m
Merge remote-tracking branch 'upstream/master'
Added support for user-defined exceptions and stack traces.

With this new API, users can report their own exceptions and provide custom stack traces. This is particularly useful for capturing exceptions and stack traces from scripting languages.

In an Apple-style report, it would look like this:

Exception Type:  EXC_CRASH (SIGABRT)
Exception Codes: 0x00000000 at 0x00000000
Crashed Thread:  0

Application Specific Information:
*** Terminating app due to uncaught exception 'Script Error', reason: 'fragment is not defined'

Custom Backtrace:
Line: string.append(fragment)
Printer.script, line 174: in function assembleComponents
Printer.script, line 209: in function print
Main.script, line 10: in function initialize


Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   Crash-Tester                    0x00049c61 0x1000 + 298081 (kscrashsentry_reportUserException + 145)
1   Crash-Tester                    0x00035192 0x1000 + 213394 (kscrash_reportUserException + 98)
2   Crash-Tester                    0x0000bbbf 0x1000 + 43967 (-[KSCrash reportUserException:reason:lineOfCode:stackTrace:terminateProgram:] + 399)
3   Crash-Tester                    0x0000a5ec 0x1000 + 38380 (-[Crasher userDefinedCrash] + 252)
4   Crash-Tester                    0x00008ae8 0x1000 + 31464 (__32-[AppDelegate(UI) crashCommands]_block_invoke463 + 72)
5   Crash-Tester                    0x00008da3 0x1000 + 32163 (-[CommandEntry executeWithViewController:] + 67)
6   Crash-Tester                    0x0000948a 0x1000 + 33930 (-[CommandTVC tableView:didSelectRowAtIndexPath:] + 154)
7   UIKit                           0x0016a285 0xaf000 + 766597 (-[UITableView _selectRowAtIndexPath:animated:scrollPosition:notifyDelegate:] + 1194)
8   UIKit                           0x0016a4ed 0xaf000 + 767213 (-[UITableView _userSelectRowAtPendingSelectionIndexPath:] + 201)
9   Foundation                      0x00b745b3 0xb69000 + 46515 (__NSFireDelayedPerform + 380)
10  CoreFoundation                  0x01e8e376 0x1e43000 + 308086 (__CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 22)
11  CoreFoundation                  0x01e8de06 0x1e43000 + 306694 (__CFRunLoopDoTimer + 534)
12  CoreFoundation                  0x01e75a82 0x1e43000 + 207490 (__CFRunLoopRun + 1810)
13  CoreFoundation                  0x01e74f44 0x1e43000 + 204612 (CFRunLoopRunSpecific + 276)
14  CoreFoundation                  0x01e74e1b 0x1e43000 + 204315 (CFRunLoopRunInMode + 123)
15  GraphicsServices                0x01e297e3 0x1e21000 + 34787 (GSEventRunModal + 88)
16  GraphicsServices                0x01e29668 0x1e21000 + 34408 (GSEventRun + 104)
17  UIKit                           0x000baffc 0xaf000 + 49148 (UIApplicationMain + 1211)
18  Crash-Tester                    0x000024ba 0x1000 + 5306 (main + 170)
19  Crash-Tester                    0x000023c5 0x1000 + 5061 (start + 53)
Proper soft crash handling.

KSCrash now sets up a new crash ID and updates report paths after a soft crash.
Harmonized sentry crash handling process.
Added sentry to ksmach so that it will only initialize once.
Better handling of empty stack trace or empty line-of-code.
Fixed retain cycles in the crash tester app.
Merge pull request #1 from mindsnacks/feature/custom-stacktrace

Feature/custom stacktrace
Added C++ exception handling.
Added basic identification for C++ exceptions.

Now if an exception is thrown, KSCrash will record what kind of exception it was, and for exceptions that subclass std::exception, it will record the result of exception->what().
User may now specify what kinds of crashes to handle.
Cleaned up KSCrash main interface.

Properties "sink" and "onCrash" are now being managed by an installation in a typical setup, so they shouldn't be exposed by default.

"printTraceToStdout" is of limited use now that stdout gets turned off on devices.
Fixed unit tests.
Using crash type names rather than bare integers for logging.
Exposed statistical information about app launches and crashes via KSCrashAdvanced.
Fixed potential null pointer reference.
KSZombie now detects subclasses of NSException.