gras: create common gras/exception.i header

fix other misc swig warnings