Add a program to print sizes

Change-Id: Iea0a3075ec22604cf05c6764ff7c1d97e1181436
Reviewed-on: http://review.couchbase.org/24077
Reviewed-by: Sergey Avseyev <sergey.avseyev@gmail.com>
Tested-by: Trond Norbye <trond.norbye@gmail.com>