Automatic binary serialization

WIP

Tests are not complete yet; waiting on milessabin/shapeless#55