Braid groups of compact 2-manifolds with elements of finite order