Deal with dependencies

add_dependency(...) in the gemspec and
require '...' for each dependency in the .rb file.

This code is pretty messy :-(