A Semiregularity Map for Modules and Applications to Deformations