Revert "Bug 904068 - Implement build/settings.py in javascript" for breaking device image builds

This reverts commit f34e385890ead627ba7252ea30662b3a96172ea9.