Added an error incase the component.json file is missing the "name" attribute

otherwise, the build process seems to run fine but build.js will have 

````javascript
    require.register("undefined/index.js", function(exports, require, module){
````