Fix loading pre-commit

Probably because of RVM or something, ruby -rrubygems -rpre-commit does not work
and does only the second. So this fixes the issue and loads pre-commit by eval.
fix integration test to check for new require method