Implement arbitrary rotation of individual layers

This is a bigger deal than it first appears.  This was the last broken
menu item in PD, so now that it's complete, the program has no missing
or faulty menu commands.  Yay!