spec fixtures and gemfile
use stdlib fct to validate params
Cherry-pick of gitlab6 update from sbadia

Duplicate update from my own gitlab6.1 upgrade commits, but there were a
handful of things I had overlooked.

Conflicts:
	templates/gitlab.init.erb
	templates/unicorn.rb.erb