Bug 1093929 - Improve grunt tasks and add additional options r=jaoo

Could you add the build/ directory to the .gitignore file please? Thanks.