sprite optimizations

These are a combination of efforts to reduce compile time around the spriting functions.

    make swift

Master:
```
real	0m33.520s
user	0m32.772s
sys	0m0.926s
```
Spritefile:
```
real	0m27.915s
user	0m27.138s
sys	0m0.732s
```

![profile](https://cloud.githubusercontent.com/assets/239123/5333450/4d80f720-7e3d-11e4-8110-54b5000cbff6.png)