Add index_files to location for vhost

This patch passes the index_files parameter
down from the vhost resource to its
associated location, where previsouly
it was ignored.
Merge pull request #92 from leoc/master

Fix deprecated variable names
Fix undefined method `sort_by' error from vhost_location_empty.erb

In the template, we should check if the variable is defined before use it
Remove GeoIP in spec to fix the tests

The GeoIP package has been removed from c01a7a8280b5f073ede456efb00af8c217b63a88 but not in tests
Add Hiera support

This supports creating resourses directly in Hiera for better separation of data
Merge pull request #93 from ubc/fix-custom_cfg

Fix undefined method `sort_by' error from vhost_location_empty.erb
Merge pull request #94 from ubc/fix-test

Remove GeoIP in spec to fix the tests
Merge pull request #95 from ubc/hiera-support

Add Hiera support
Merge pull request #90 from michaeltchapman/vhost_index

Add index_files to location for vhost
Fix check for undef according to new instance vars
Use correct port for www rewrite