[Fix] Bug in file order during build process,

file migrations (required changes for build process), and other Grunt development improvements.