Move dependency on ext.translateHooks to base module

The dependency needs to be migrated to allow hooks to be used with "new"
JavaScript. Given the expansion in the use of hooks, it is probably
prudent to move it to be a base dependency now, at minimal performance
cost.

Change-Id: I8e4781852d328732813937831e9de558d7820b4d
Merge "Move dependency on ext.translateHooks to base module"