Made Berkeley graph database use read-only hint.

Made Berkeley graph database mimic read only functionality of object database.