Rewrote how styles get handled by the static drawing API for max flexibility.

Test Plan:
Wrote lots of Graphie-to-PNG templates testing the entire API.

Auditors: eater