Add allowBlank option to queryparam
fixes issue #814
rebased