Rename "resource" as "location", refactor pione-client options of
input/output directory, and change global settings of temporary
directories.
Removed spec_resource.rb.
Use locations in tuples.