Dynamics And Origin Of The Irregular Satellites Of The Giant Planets