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

fixes the bug @Noblebrown mentions and adds some tests for it.