Periodic orbits and non-integrability of generalized classical Yang-Mills Hamiltonian systems