Adding run_in_check_mode parameter to run_command helper

In using commands quite a bit in modules, I kept on writing boilerplate check mode logic to only run certain commands when check_mode is enabled.  This moves this logic into the core helper function.