Update ShutDownThread.java/void shutdown() to send a broadcast intent

Update ShutDownThread.java/void shutdown() to send a broadcast intent if foreign receiver app is present, or call builtin shutdown dialog if not.