If enyo-ilib is present, let it broadcast the "onlocalechange" signal so that iLib can set its locale before any locale-aware Enyo controls try to query it. Addresses GF-7388.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
GF-7388: Providing a hook for g11n libraries to update internal state before Enyo fires the "onlocalechange" signal. Moving all g11n hooks to a new ext/hooks.js file.

Enyo-DCO-1.1-Signed-Off-By: Gray Norton (gray.norton@lge.com)
Merge pull request #415 from enyojs/GF-7388-graynorton

GF-7388: Provide a hook for g11n libraries to update internal state...

Reviewed-By: Ben Combee (ben.combee@lge.com)