Compatibility updates:
 - replace calibre-semaphore with semaphore
 - changes for compatibility with Rake 10
 - Prepare for update to ruby 1.9 (not there yet, still some issues with third-party gems)
 - bump version to 0.3.6

Thanks to Bob Gibson for figuring much of this out!