Devils sign Scott Wedgewood to a 1-yr, 2-way deal