Fix for Issue #34: Task.setPercentComplete() sets a String for a Double property

fixes the bug @Noblebrown mentions and adds some tests for it.
Should we leave a deprecated API that takes a string and calls into this after validating / parsing the string?