Recent results in quantum chaos and its applications to atomic nuclei