First-Principles Study of Nitrogen in GaAsN - Defects and Interfaces