Split rusalka into librusalka and vm_test code.

Currently produces a static library. Haven't tested how it works with
a shared library since it doesn't provide a way to supply an allocator
or anything, and I consider that kind of important for shared
libraries.