RBush improvements

Various improvements to `ol.structs.RBush`, including a check for #1320 in debug mode and (hopefully) a fix for #1323.

@oterral, @ahocevar, can you test to see if this fixes the issues you reported?