Slot: Assert that only input slots can have default values.
Slot.setValue(): Use == instead of 'is' to determine if the value is different.
This reverts commit a43395ecc93f34774ccf3d0d745fc1ccff14d6d8.  See code comments for why this is necessary.