Indexing performance for bulk load: tests and improvements


 - https://issues.jboss.org/browse/ISPN-3586
 - https://issues.jboss.org/browse/ISPN-3833
 - https://issues.jboss.org/browse/ISPN-3834