Fix tests for jRuby and MRI 1.8.7

* add Travis
* new default rake task for specs
* Kernel::spawn used only on >=1.9
* use activerecord_import only on >= 1.9