Set the `mongoQuery.limit` to `0` if the `rqlQuery.limit` is `-1` (unspecified=unlimited).
Added `fromObject()` and `isEmpty()` methods to the `Query`.
Fixed a default value for the `LIB_DIR` variable.