[new] new Json serializer infrastructure

The CouchDB object structures vary over time. Two known examples used by
Sohva are users and security documents.
Adding a serializer infrastructure that may handle the same classes
differently depending on the CouchDB version allows Sohva to be used by
more people. Ultimately, people may add their own serializers for types
that are not natively handled by the lift json framework