Improve error handling.
Implement grnxx::map::DoubleArray.
Add a test for DoubleArray.