Homologies of Algebraic Structures via Braidings and Quantum Shuffles