added rvmrc and travis hooks