Made Berkeley graph database mimic read only functionality of object database.
Change hooks functional test assertion because when built with Java6 the exception message set by the script is lost
Merge branch 'bdb-graph-read-only' of github.com:jdgarrett/GeoGit into jdgarrett-bdb-graph-read-only
Add missing set of database read only mode in JEGraphDatabase