move editor template to the create method
move the requires to sensu-cli for easy inclusion
move http methods to new api class, cleanup requires, updates specs