Added ability to parse complex conditions for plurals.

Removed unnecessary functions and replaced with eval() with checking
for accepted syntax.