Synthetic and Mechanistic Studies of Ruthenium Catalyzed C–N and C–H Bond Activation Reactions