New check offset

Started work on the new check offset. Wrote get offset function and
outlined the main function.
avg1 function

Finished the avg1 function. put in a 2/3 weighting on the average.
completed new check offset

wrote avg2 function, a seperate shelvefile function and completed the
main function.
wrote hipat_control

hipat control binds everything together. It performs boot checks of
frequency control and if the crtc is valid. Then it communicates with
the crtc.
Modified crtc class, small other changes

made sure that crtc class now relies on the new check_offset functions.
Small changes made to hipat_control, crtc_valid runs until valid. Small
changes made to check_offset.
Added a check_running to hipat_control, small changes

Now checks for a running instance of hipat_control when running. Also
made everything ready for freq_adj.
Started a print function, moved shelvefile creation

hipat_control now creates the shelvefile. Also started work on the
output from the functions.
Changes to print function

Small changes to print function
Setting date has a larger window

Now the offset has to be +- 1 second for the date adjustment to be
used. The 343 ms transmission_error is also added.
Logger, print, crtc_updating

Added Logger,
changed print commands,
removed response from adjust_ms,
added check to see if crtc is updating correctly.
Bugfixes, made it work via crontab

Made some changes so that the program works via crontab. Made a new
function that checks file length of two files, error.log and
running_output.txt.
Bug fix freq adj

Added self to freq_adj.
Merge branch 'Logging-added' into New-Check-Offset
Changes to print_output

No longer prints with carriage return.
Merge branch 'Logging-added' into New-Check-Offset
Changes to print + bugfixes

Will now print only when make_adjust is called, also added the option
for freq_adj to print. Removed outdated scripts.
Added freq_adj as a config option.

Freq_adj can now be turned on through the config file.
Print back to normal operation
Bug fixes to ntpdate and main loop

Didn't calculate new offset after adjusting time in main loop. Will now
stop ntpd before performing ntpdate command.
Merge branch 'New-Check-Offset'