Electron-Scale Processes In The Solar Wind And Magnetosphere