cf_directory_updates: refactor some duplicated code

updates for dialyzer
cf_directory_updates: add aliases for seconds

gregorian and unix
cf_directory_updates: update specs to reflect the type of seconds
cf_directory_updates: export type and update spec
Merge pull request #662 from 2600hz/cf_directory_updates

Cf directory updates