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

fixes the bug @Noblebrown mentions and adds some tests for it.
sry  I guess I got wrong formatting options with my intellij. What settings do I have to choose? Do you have suggestions?