(GPU Testing Part 3) Add a simple serialization mechanism.
The Serializer<T> class implements a binary serialization that
can write to (serialize) and read from (deserialize) a byte
buffer. Also added convenience routines for serializing
a list of arguments.
This will mainly be for testing, specifically to transfer data to and from the GPU.
This is part 3 of a set of changes to simplify creating generic GPU tests.
Edited by Antonio Sánchez