rails4: first steps to extract validity_range out into the temporal_scopes gem.

gem: https://github.com/fiedl/temporal_scopes