gpaste: print more complete results for search

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
gpaste: use getopt_long

Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>