version update
fixed examples to use dirname
added report stats example
added query examples
added jsdocs