Added input type='image' extra behavior:
Added %inputName%.x and %inputName%.y data fields equal to 0s to emulate browser behavior
Added check for input value: it is added only if exists
Added tests for everything