Add LuhnCheck and minimal CVC validation

This code introduces some first client side validation capabilities.
It will also fix the issue regarding the client side encryption library breaking when it is loaded from the page head, instead of the body of the page.