Significant refactor of phonegap:build into separate files and a more clear asynchronous workflow thanks to 'fluid'