(PUP-530) Make install.rb check for hiera before installing

From ticket:
The `install.rb` script for puppet checks for facter and will refuse to install
puppet if facter is not on the system. However, puppet also cannot function
correctly without hiera and the `install.rb` script does not check for that.
The installation script that we ship in the tarball should also check for hiera
being present.

This commit adds hiera to the list of prerequisite libraries required before
install.rb will install puppet.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
(PUP-530) Add a build depends of hiera

By requiring hiera in install.rb, we force this as a build dependency of puppet
for any platform that depends on install.rb to build packages. This commit
  updates debian and redhat packaging to have a build dependency on hiera to
  satisfy this requirement.

Signed-off-by: Moses Mendoza <moses@puppetlabs.com>
Merge pull request #2323 from MosesMendoza/PUP-530/master/installer_check_for_hiera

(PUP-530) Make install.rb check for hiera before installing