Fix get state for locales that have commas as decimal delimiters

When your current set locale uses "," as decimal delimiter, AppleScript
will automatically use this when you convert the number to a string. This
will break the JSON parsing for the callback, as "," is invalid when not
in quotes.
Convert player position to an integer, nullyfing the need for local aware workarounds
Merge pull request #13 from rmehner/fix_get_state_with_comma_as_separator

Fix get state for locales that have commas as decimal delimiters