Introduce flags for manifest emitting.

Allow more options when emitting the manifest of a package:
- compact manifest for remote package;
- manifest without files and directories;
Allow yaml format when searching packages.

Add -R option to pkg-search to show raw manifest of remote packages
in a compact format.