Remove case_ system for sum_type to allow matching with references.

Also add const overload of match function and tests of both changes.