rewrite next_pageview spec to integration spec, create generator for pageviews with events
timestamp stores time in miliseconds
require gems instead of specifying them in Gemfile
remove resort from dependencies