Reverse order of log statement and invoking uncaughtException handler

It doesn't do any good to attempt to log a message after we've
terminated the thread.
Make sending reports at shutdown configurable

The new Android Runtime, default as of Android 5.0, does not allow
spawning of threads during shutdown, and doing so raises
an exception:

  java.lang.InternalError: Thread starting during runtime shutdown

For reasons I don't fully understand, it appears the the shutdown
begins before ACRA even re-raises the exception. So the fact that
ACRA waits on the SendWorker is insufficient to prevent this issue
from occurring. For example, see issue #136, which in theory should
not occur.

This option allows ACRA to be configured to terminate immediately
after persisting the report to disk. The report is then sent
(per usual) when the application is restarted.
Merge pull request #198 from jaysoffian/fix_log_stmt

Reverse order of log statement and invoking uncaughtException handler
Merge pull request #199 from jaysoffian/send_reports_at_shutdown

Make sending reports at shutdown configurable