rbtree: removed offsetof define - it's already in blob.h
misc: move project specific includes to the top

This allows us to easily spot forgotten includes in header files.