Unit tests for MQLBase class

Request serialization to JSON is also moved to
Viaduct.Interop.Unmanaged.