Fix FieldtypeFloat/InputfieldFloat issue where an undefined precision resulted in assuming precision 0. Instead we now let the precision be defined by the supplied value and how many numbers occur after the decimal point.
Update inputfields.js so that the InputfieldStateToggle class can be removed.