Part of #1201. It should be able to create enumerator from primitive byte-array-like stack items too.
closes #912
Which makes iterating over map stable which is important for serialization and and even fixes occasional test failures. We use the same ordering here as NEO 3.0 uses, but it should also be fine for NEO 2.0 because it has no defined order.