Use multimethods for serialization. Each platform implements these.

Add two methods, pigpen.runtime/pre-process and pigpen.runtime/post-process for platforms to implement serialization.

cc @pkozikow

I left this around for pig use, but eventually it'll go away.