Clean up the extension build script

This removes test files from the Chrome bundle as well as some actions that copy unnecessary files into the app bundle.