Misc AIR improvements

Regarding the FB import changes: there seems to be a problem with FDBuild, when it compiles Debug projects, it obeys the output path, which is usually bin-debug, but when it's a Release project, it seems to enforce bin. I tried to look for the cause of the problem, but I didn't find anything of interest. If nobody else looks for it, I'll do again when I look into improving this a bit more in some time.

Also, I don't know why this PR includes 42 commits, instead of the 3 really of interest, but I guess it won't affect anything? 
I know, not entirely my fault, if you look at it it was already inconsistent before, but I could have changed it... During my changes I've seen one or two more files with the same problem, but I haven't changed them either.