numerous bug fixes and changes to schema
uncomment array stuff
finalize new-schema for betadb
add new branch for new schema