allow facets to work at different resolutions

we need to support different histogram resolutions, this adds a
new parameter which is the number of seconds to bucket on.

Change-Id: If839c238f93a07b17240c8774e826f3217d447ef
Merge "allow facets to work at different resolutions"