When running tests always set RAILS_ENV to test

@maxfliri
@pbadenski
Upgrade plek to 1.0.0

@maxfliri
@pbadenski
Fix jenkins to work with plek 1.0.0
Fix tests on Jenkins

@maxfliri
@pbadenski