added reserve() method
make interface more user-friendly
reserve enough memory for simple lists & arrays
reserve more memory for result set
changed interface for locking