Added more support for HTML5 input elements, added allowFractions option

Added support for HTML5 input attributes like min, max. 

Added allowFractions option to avoid rounding the result for higher-precision results.

Added a CSS class to the wrapper element so it can be styled easier.