UI_CORE: Fix for most novacli options exiting early

Changed the bufferevent callback function MessageManager::WriteDispatcher to
only get triggered when StopNovad is called, and nowhere else. So that
we can still quit after that is called and written, but act normally
elsewhere.