Limit Theorems for Theta Sums and Applications