Corner Singularities and Analytic Regularity for Linear Elliptic Systems. Part I: Smooth domains.