fixes two issues with the omnifocus plugin

fixed an issue with the date calculation for the apple script (omnifocus plugin)

fixed an issue where the plugin fails with ruby 1.8.7 (omnifocus plugin)