Allow single exit codes

When using `:allowed_exit_codes` it is cumbersome to always have an
array of specified values. This change allows `:allowed_exit_codes => 1`
to be used.
(QE-428) bundle install fails on Ruby 1.8.7 because of new mime-types 2.0 dependency requiring 1.9.2

- add entry to gemspec to use mime-types 1.25 with ruby 1.8.7
Merge pull request #45 from anodelman/187-mimetypes

(QE-428) bundle install fails on Ruby 1.8.7 because of new mime-types 2.0 dependency requiring 1.9.2
Merge pull request #41 from hunner/single_exit_codes

Allow single exit codes
Correctly determine win arch for installing packages.

My previous implementation had a bug in that it expected execute to
return a result object.  Instead, execute exposes the result object to a
passed block.  So now we check the result within a block and set rootdir
and cygwin executable there.
Merge pull request #47 from jpartlow/issue/master/windows_package_install_fails_testing_result

Correctly determine win arch for installing packages.
add back signing of dns-alt-name certs