add documentatiuon about callbacks

Conflicts:
	docs/queries.jade
add information about callbacks