[cmyth] Recording rule: Handle manual program, override rule and database constraints

- Backend create 'manual' program related to 'manual search' rule. Column 'manualid' contains the related rule id. These programs should not selected in database queries: get_guide , find_prog etc... So add required filter.
- Delete recording rule didn't cleanup linked rows in tables oldfind and program. This change update prototype of cmyth_mysql_delete_recordingrule(). Now function get rule structure instead rule id.
- Add field 'parentid' in recording rule structure to manage override rules. This field relates the main rule.
- Field findid is handle by backend: Set only findtime on INSERT and UPDATE.
- Add cmyth_recordingrule_dup(). New function duplicate rule structure and help to make an override rule or others stuff.
- Update prototype of cmyth_mysql_get_prog_finder_chan(): Add 'attime' to find program related to rule. The new parameter should be fixed with current time to keep old functionality.
[mythtv-cmyth] Recording rule: Handle manual program, override rule and database constraints

Change relates cmyth updates
[mythtv-cmyth] daytime() was not time of the day

cosmetics: move inline pragma to usual place
[mythtv-cmyth] Refactoring schedule management

New class scheduleManager handle recording operations. All related code has been refactored.
Some business rules depend of backend version. So version helper handles these rules and can to be overriden when a new version is supported. In the future main services like 'Schedule recording', 'Delete Recording' etc could be transfered to the version helper as needed.