Rails 42

Made `time_frame` ready for rails 4.2.

Eased gem version restrictions.

Simplified Arel Handler handling (fixing `unsupported Time` error when updating to rails 4.2).

Fixed new rubocop issues.