Spin Transport And Nanomagnetism In Semiconductor Heterostructures