Building workspace instead of target to get rid of that annoying AppBlade.build folder

Also MAJORLY cleaning up the script.
Build script now exits if a sub-build fails, good for eventual automation.