update turbolinks gem, modify analytics to work better with turbolinks, update tests