Move router to package and remove define/require

It’s important to make sure we’re using the right function mode, since
arrow function uses a lexical `this`, as per
google/traceur-compiler#1032