Add secret and generator button to bot/create form. Abstract bot-edit related functions into /js/bots.js