Fixes #3970

Adds support for OS default templates. 

Adds two commands - set-default-template and delete-default-template - to the os main command.