Hi, i have tweaked your code a bit

what have i done?
  - fixed directory - structure
  - removed manual requires
  - added newest library
  - fixed some issues in library with new solr - versions
    - use new curl - call - option in library
  - added modman - file
  - added explanation to ping button etc.
  - exposed max documents to send to user (now configurable)
  - tried fixing memory leak (i think it's better now but not yet fixed)
  - implemented restart - function when index building stopped unexpectedly (write last ID to file; clean up file when finished)