Fixed templates and some fields.

* Fixed template hardcoded "use" option on checks.
* Moved conversion of NagiosCheckTemplate to dictionary from the view to the template.
* check_command field now optional
* Some data migration