Fixed serialisation of non-dynamic ArrayPlugs.

*Porting to the cortex8Compatible branch.*

We were serialising a construct/addChild pair for the first element of the array, even though the element would be provided again via the constructor next time. This led to one additional plug being added each time the ArrayPlug was serialised and unserialised.

Fixes #580.