[ALOY-865] cache and reuse global style when possible

Ticket: [https://jira.appcelerator.org/browse/ALOY-865](https://jira.appcelerator.org/browse/ALOY-865)