[ALOY-721] Alloy.resetClass() and $.resetClass()

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