djinni doesn't respect namespace'd cpp objects always

Applies a more incremental fix for https://github.com/dropbox/djinni/pull/28