[deprecated] onStateChange -> onChange

Auto validation is now implied when onChange is passed

Added envify as a dep and to the build for info/warning messages in the dev version only