Fixed compatibility issues with Intellij 11. Fixed bugs in lexer.
Updated Readme