Nonlinear oscillations, transition to chaos and escape in the Duffing system with non-classical damping