Checking for spaces in postal code can be turned off

I'd like to be able to check postal code, but without spaces being strictly checked.

I implemented optional parameter to isValid() which makes space in postal code formatting optional.