Merged scripts

- Merged the output of images and states
- Fixed a bunch of stuff to be Objective-C
- Added * for flattening
- Fixed transitions

Bug: Slices still crash sketch. Very annoying bug that I’m hoping is a
problem with Sketch beta.