Database: Fix small typos.
Database: Implement field getting.
Database: Bring everything up to the point where the YAML DB tests pass again.