ChangedAttribute event will not be generated when the value does not change

See https://github.com/rryk/FiVES/issues/27
Also fixed some bugs with null values