Added support for both left and right variants of lex and revlex to the library interface and in the engine. The file IO format does not support these new orders so far.