Make all webodf.js 100% typed.

This is a very large patch and mostly straightforward.
Finally all production files in lib/ are sufficiently annotated with type information that they can be compiled with the --jscomp_error reportUnknownTypes flag.
The patch consists of added type information and removal of the special build targets that helped to get to this point.