Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.
Don't assume the size of time_t.
Merge pull request #5 from dajohi/master

Replace deprecated g_str[n]casecmp with g_ascii_str[n]cmp.