Nonautonomous Linear Hamiltonian Systems: Oscillation, Spectral Theory and Control