ui lib for new add-on SDK UI elements

this fixes the ui.js after the messed up commit that added it.
fix for a returning bug with loaclStorage and indexDB in chrome:// and resource://
don't coppy .git files to build dir and build.sh no longer needs to be removed