Change ids to be int64_t and fix type conversion warnings

Job ids can be bigger than a 32 bit int which is supported in this change.
Delay, Priority and TTR have been changed to unsigned ints.
Merge pull request #12 from swehner/fix-data-types

Change ids to be int64_t and fix type conversion warnings