Pipeline - don't create undefined pipes. AGJS-75

see https://issues.jboss.org/browse/AGJS-75

when doing this:

    var pipeline = AeroGear.Pipeline({ type: "Rest"});

an undefined pipe is actually created.  modified a bit of core and added some tests.  

basically it looks to make sure the name property is there

Haven't checked if this more that just Pipeline