Fix bugs in issue-new

Default editor to vim.
Save file after command.