[TIMOB-14974] More work on the Android build. [TIMOB-14884] Fixed bug with ios build when files are copied from the resources directory. Also fixed a bug with symbols for overwritten js files being added to defines.h. [TIMOB-15198] Fixed plugin detection code in build process that was causing plugins to not be loaded (which broke when working on the Android build).