Password input fix

Changed the input replacement functionality for password inputs to replace the input inplace instead of using dummy inputs. Fixes many password related issues like #44 and #65. And solves a problem when working with jquery.validator where it will trigger for the hidden dummy element if i.e maxlength attribute is set on the input.