Updated manual for 1.8, added chapter on Query API