Prevented non-serialisable plugs from being promoted to Box level.

It would only fail later because the promoted plug wasn't serialised. You could argue that we should remove the non-serialisability when promoting, but nodes make non-serialisable for good reason, so I think it's best that we respect their wishes.

Fixes #347.