Coerce collections to a common type

When saving collections as properties, they must be turned into arrays.
This commit changes how this is done for numeric types. Now Cypher
finds a common type to use, and coerces all numeric values into a
common numeric type.
Merge pull request #1280 from systay/number_coercion

Coerce collections to a common type