add by_daterange scopes to trackings and attendances
added turbolinks
added statistics, updated daterangepicker partial, converted js to coffeescript