loading schedules

added more management for loading schedules from the database. in the
extension this will be used on setting up tellstick replay for the first
time to write the backup xml schedule file stored locally on the
filesystem.