Fixed typecasting bug

Fixed typecasting bug: when a color value is numeric it should be
typecasted to string. This prevents the color picker window from not
being launched.
Also fixed small visualisation issue with the color swatch preventing a
box collapse with css
Merge pull request #5 from Rayden/master

Fixed typecasting bug, fix for collapsing inputfield content box with floated elements