This also configures the package to compile at publish time, which
should enable cdnjs to auto-update the library.
Change-Id: Ib32ac1c44d11e10f344a2409caa800d7312c1996
This gives our version numbering more granularity than just release
versions. Uncompiled builds will show a "-debug" tag, and builds with
local changes will show a "-dirty" tag.
This also adds the version number to the test app UI.
Change-Id: Ia333c89de81df1e8faacd97a5f70405da0364bf7