Using typed comparison as null == '' is true
Usinf the "data" attribute to calculate the "checked" value
Merge pull request #963 from roadster31/checkbox-fix

Module configuration parameter & checkbox form field fix.