Major code simplication

- Added "-all", "-any", "-not-all" and "-not-ant" keys;

- The "-not", "-and", and "-or" keys are deprecated, but supported for
  backwards compatability.

- Bumped to v0.5.0.