added pagination classes to doctrine functions
added pagination classes to vocabularies with pagesize=0 parameter