Separate common methods into XCJobs::XcodebuildBase

XCJobs::Xcodebuild and XCJobs::Task include it.
Add extname spec to xcode_task_spec.rb
Silence linter's warnings