Fixed crashes with plugins not deinitializing properly

Added a parameter to OBS::Stop to override keep recording behaviour in
exceptional cases like shutting down and encoder initialization problems