Updated documentation, added queries.rst documentation about AQL, fixed small issues on PyPy