Make curl and rsa signature optional

Make possible to build library without curl and rsa signature -related files by adding <code>--with-curl</code> flag and macroses, update <code>README.md</code> accordingly.