Added serialization support.
Added pagination support.
Added api doc to Paginator.
Added more api doc and some misc changes.
Updated composer meta.