Bug 1097894: if the embedding level of a frame is unset, get the direction from style, r=dholbert
Bug 1100071 patch 1: change uint8_t to nsBidiLevel in a few more places, r=dholbert
Bug 1100071 patch 2: add macros for common tests whether bidi level is odd and whether two bidi levels have the same parity, r=dholbert
Bug 1100071 patch 3: don't pass around bidi levels when we only need the direction, r=dholbert