Add cart entity.

Add cart entity, dao implementation and some tests for it.