Some more bug fixes found by unit tests
Re-enabling manual compaction

Currently, ForestDB will crash soon after compacting a database if
"Guard Malloc" is enabled, due to a buffer overrun. This is a bug in
ForestDB: MB-11483.
All unit tests pass!
Get iOS targets to build