[cmyth] Add cmyth_mysql_recordingrule_from_template

- Update program to get category_type
- Update rules
[mythtv-cmyth] Add recording rule template

Use can choose between usage of MythTV and internal recording
rule template. For MythTV >= 0.26 category based templates are used.
For older version the global settings are loaded.
As alternative an addon internal template can be created and used.