Ri tree stored proc

efficient index data structure for supporting Wahib's progressive loading query of items visible on current canvas (the data structure is described in http://www.solidq.com/sqj/JournalDocuments/2011-September-Issue/A-Static-Relational-Interval-Tree.pdf)