Upgrade Torquebox and JRuby

For best practices, performance, and security compliance, it's helpful to use
the latest versions of libraries. This commit updates Torquebox to 3.1.1 and
JRuby to 1.7.13 as a consequence. The previous version of Torquebox shipped
with JRuby 1.7.8, so this updates these libraries in sync.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-339
Fixing Debian's i386 installation task

The task for Debian was incorrectly handling i386 infrastructure, never
actually booting but rather always failing. This rectifies that mistake.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-325
Fixing Ubuntu's preseed URL mutation

The preseed's URL was not working in cases where the domain did not contain a
period. That happened due to a "feature" where the preseed/url kernel
argument would be augmented by the get_domain parameter of the node. For
example, if the policy's hostname pattern was "node${id}.example.com", the
preseed URL would be mutated from
"http://razor-server:8080/svc/file/preseed" to
"http://razor-server.example.com:8080/svc/file/preseed". This method grabs
the preseed file first, then passes it using preseed/file instead of
preseed/url.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-326
Fixing Debian's preseed URL mutation

The preseed's URL was not working in cases where the domain did not contain a
period. That happened due to a "feature" where the preseed/url kernel
argument would be augmented by the get_domain parameter of the node. For
example, if the policy's hostname pattern was "node${id}.example.com", the
preseed URL would be mutated from "http://razor-server:8080/svc/file/preseed"
to "http://razor-server.example.com:8080/svc/file/preseed". This method grabs
the preseed file first, then passes it using preseed/file instead of
preseed/url.

Fixes https://tickets.puppetlabs.com/browse/RAZOR-325
Ubuntu 10.04 + 14.04 task support

Fixes https://tickets.puppetlabs.com/browse/RAZOR-326