fix joda license line endings, fix second checking w/out period, add unit tests to check that