fix register template process in cloudstack

there is no create_template method in cloudstack .. fix this bug.