Implement lgcpath command.

lgcpath is to print paths of a GCojb reference grath. Given the size and optionally
the type, this command print a path from root to an object of same type (if type
is specified) and with size no less than the specified size.