Towards a realistic, continuum modeling of heteroepitaxial growth: elastic relaxation, surface-energy minimization, misfit dislocations, and intermixing