Input Ports and Chained addInput, addHook methods

Changes for:
- Allow to name input ports for input streams
- Make the addInput(...) and addHook(...) methods chainable
- Existing Tests modified to reflect the change

To allow the following:

        network.addWorker("TestReceiver", TestReceiver.class.getName())
               .addInput("Counter")
               .addHook(null)
               .addInput("Counter2","OUT","IN");