Move externs and eventtype to an externs directory and update bower.json.