added conv function from uint64 to timex_t and one minor bug fix
Merge pull request #1299 from phiros/timex_bugfix_and_improvement

Timex bugfix and improvement