Refactor InlineLoaderHooks into ES6.

Review URL: https://api.github.com/repos/google/traceur-compiler/issues/1170

Closes #1170.