isvalid: Properly support commas in the arguments to the API calls

is_int() is a check for the internal type of the variable which will never be true because coming from the HTTP request is it always a string.
Merge pull request #6 from westi/allow-commas-in-numbers

isvalid: Properly support commas in the arguments to the API calls