Make rofi compile happily under clang.

    * Set features in configure.ac
    * use config.h file, instead of hardcoded _GNU_SOURCE
      in each c file.
    * Fix mix up unsigned/signed.
Cleanup warnings.

    * unused var and arguments.
Fix compile warnings with CLANG.

    * signed compare with unsigned.