add travis build

also remove rails2 support