Implement lower_bound() and upper_bound() methods for ZTable
Merge branch 'master' into new-support2