added typesafe tid, rid and pid
added typesafy to segmentid
Merge branch 'master' of git://github.com/alexandervanrenen/Gamera-Database
Adopt BTree to new PageId and TupleID classes