Fixed symlink resolution

Basically I was just too stupid to use the right path to the file
No need to declare a cwd variable since c.File.Name() is a directory
Added some basic logging capabilities

However, I think this feature could be extended. For instance, writing
logs to a file and disabling the logging feature using a command line
flag would be nice.

See issue #3
go fmt