Bugfixes for R API

The R API was broken due to two problems that are now again fixed:
- Database find() by CSV writer failed because of missing column names
- Webspider-blocking applications could not connect via R because of nullpointer on user agent