Add parameter type validation for int and long
Merge pull request #19 from anatmaor/master

Add parameter type validation for int and long