Create a .gif generator and assign it to a key

Create a tool that is capable of recording and generating a .gif file. Map a key to the generate gif command. Add a submenu to the screenshot menu Unit test (where possible)