Add ruby-head for tests

Also test rails 4 on 1.9.3