Magnetic reconnection: three-dimensional aspects and onset in the magnetotail