Quantum control, quantum information processing, and quantum-limited metrology with trapped ions