basename.go: Improve readability

Instead of one giant glob of code in the main function, I have split it up into simple functions.
dirname.go: Improve readability
Add the go-coreutils implementation of date
coreutils.txt: Add date
Merge pull request #18 from mmstick/code-improvements

Add the go-coreutils implementation of date